This commit is contained in:
Scott E. Graves 2025-03-25 12:58:50 -05:00
parent e8a2731bba
commit 08a3b63fbe
2 changed files with 3 additions and 2 deletions

View File

@ -25,7 +25,8 @@
#include "types/repertory.hpp"
namespace repertory {
[[nodiscard]] auto create_lock_id(provider_type prov, std::string unique_id);
[[nodiscard]] auto create_lock_id(provider_type prov,
std::string_view unique_id);
}
#if defined(_WIN32)

View File

@ -24,7 +24,7 @@
#include "app_config.hpp"
namespace repertory {
auto create_lock_id(provider_type prov, std::string unique_id) {
auto create_lock_id(provider_type prov, std::string_view unique_id) {
return fmt::format("{}_{}_{}", REPERTORY_DATA_NAME,
app_config::get_provider_name(prov), unique_id);
}