util, refactor: Drop explicit conversion to fs::path

Removes unhelpful noise/verbosity.
See: https://github.com/bitcoin/bitcoin/pull/24306#discussion_r809363741
24.x
Hennadii Stepanov 3 years ago
parent 138c668e2b
commit b01f336708
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

@ -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;
}

Loading…
Cancel
Save