diff --git a/src/util.cpp b/src/util.cpp index 308be4d..b7051ab 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1114,7 +1114,7 @@ void ReadConfigFile(map& mapSettingsRet, std::filesystem::path GetPidFile() { - std::filesystem::path pathPidFile(GetArg("-pid", "trianglesd.pid")); + std::filesystem::path pathPidFile(GetArg(std::string_view{"-pid"}, std::string_view{"trianglesd.pid"})); if (!pathPidFile.is_absolute()) pathPidFile = GetDataDir() / pathPidFile; return pathPidFile; }