diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-03-25 21:42:58 +0100 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-04-21 12:55:31 +0200 |
commit | b01f336708019f8c8274ea701d3446e4123e7af2 (patch) | |
tree | 05c1530fe3c6db90661a7775731821b9203fd6a1 | |
parent | 138c668e2b4d64279ddefbe07c1d9b7c3d3c537c (diff) | |
download | bitcoin-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
-rw-r--r-- | src/util/system.cpp | 2 |
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; } |