mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-10 10:52:31 -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:
parent
138c668e2b
commit
b01f336708
1 changed files with 1 additions and 1 deletions
|
@ -528,7 +528,7 @@ bool ArgsManager::InitSettings(std::string& error)
|
||||||
|
|
||||||
bool ArgsManager::GetSettingsPath(fs::path* filepath, bool temp) const
|
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()) {
|
if (settings.empty()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue