diff --git a/src/util/system.cpp b/src/util/system.cpp index 5acc9a8e58..bfb1a79b40 100644 --- a/src/util/system.cpp +++ b/src/util/system.cpp @@ -528,7 +528,7 @@ bool ArgsManager::InitSettings(std::string& error) bool ArgsManager::GetSettingsPath(fs::path* filepath, bool temp) const { - fs::path settings = GetPathArg("-settings", fs::path{BITCOIN_SETTINGS_FILENAME}); + fs::path settings = GetPathArg("-settings", BITCOIN_SETTINGS_FILENAME); if (settings.empty()) { return false; }