refactor
This commit is contained in:
parent
e8a2731bba
commit
08a3b63fbe
@ -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)
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user