Skip to content

Commit b01f336

Browse files
committed
util, refactor: Drop explicit conversion to fs::path
Removes unhelpful noise/verbosity. See: bitcoin/bitcoin#24306 (comment)
1 parent 138c668 commit b01f336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/system.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ bool ArgsManager::InitSettings(std::string& error)
528528

529529
bool ArgsManager::GetSettingsPath(fs::path* filepath, bool temp) const
530530
{
531-
fs::path settings = GetPathArg("-settings", fs::path{BITCOIN_SETTINGS_FILENAME});
531+
fs::path settings = GetPathArg("-settings", BITCOIN_SETTINGS_FILENAME);
532532
if (settings.empty()) {
533533
return false;
534534
}

0 commit comments

Comments
 (0)