aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormregrock <mregrock@ydb.tech>2025-02-25 13:32:40 +0300
committerGitHub <noreply@github.com>2025-02-25 13:32:40 +0300
commit27ea9c1bf9cfdc37801076912f8e270eb47c0f04 (patch)
tree7c54a04b65f146e937b5f2b22379dec57490eeed
parenta4b20bc56d8c4132e109fa1750c46bfb013b2956 (diff)
downloadydb-27ea9c1bf9cfdc37801076912f8e270eb47c0f04.tar.gz
Fix wstring path (#14982)
-rw-r--r--ydb/core/config/init/init_impl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/core/config/init/init_impl.h b/ydb/core/config/init/init_impl.h
index e1c3609538..33e011ab95 100644
--- a/ydb/core/config/init/init_impl.h
+++ b/ydb/core/config/init/init_impl.h
@@ -1074,11 +1074,11 @@ public:
auto dir = fs::path(CommonAppOptions.ConfigStorePath.c_str());
if (auto path = dir / STORAGE_CONFIG_NAME; fs::is_regular_file(path)) {
- storageYamlConfigFile = path.c_str();
+ storageYamlConfigFile = path.string();
}
if (auto path = dir / CONFIG_NAME; fs::is_regular_file(path)) {
- yamlConfigFile = path.c_str();
+ yamlConfigFile = path.string();
loadedFromStore = true;
} else {
storageYamlConfigFile.clear();