From b979f7ae7d568aebc85d2152fecbf3f2be8a2d6b Mon Sep 17 00:00:00 2001 From: Krystie Date: Sun, 10 May 2026 01:53:32 -0700 Subject: [PATCH] Fix GetArg overload ambiguity for pid file --- src/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }