aboutsummaryrefslogtreecommitdiff
path: root/src/util/system.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-03-25 21:42:58 +0100
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-04-21 12:55:31 +0200
commitb01f336708019f8c8274ea701d3446e4123e7af2 (patch)
tree05c1530fe3c6db90661a7775731821b9203fd6a1 /src/util/system.cpp
parent138c668e2b4d64279ddefbe07c1d9b7c3d3c537c (diff)
downloadbitcoin-b01f336708019f8c8274ea701d3446e4123e7af2.tar.xz
util, refactor: Drop explicit conversion to fs::path
Removes unhelpful noise/verbosity. See: https://github.com/bitcoin/bitcoin/pull/24306#discussion_r809363741
Diffstat (limited to 'src/util/system.cpp')
-rw-r--r--src/util/system.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}