mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-30 02:31:05 +02: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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user