0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-09 10:43:19 -05:00

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

Removes unhelpful noise/verbosity.
See: https://github.com/bitcoin/bitcoin/pull/24306#discussion_r809363741
This commit is contained in:
Hennadii Stepanov 2022-03-25 21:42:58 +01:00
parent 138c668e2b
commit b01f336708
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

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