mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
refactor: Remove redundant c_str() calls in formatting
Our formatter, tinyformat, *never* needs `c_str()` for strings. Remove redundant `c_str()` calls for: - `strprintf` - `LogPrintf` - `tfm::format`
This commit is contained in:
parent
a25945318f
commit
c72906dcc1
14 changed files with 46 additions and 46 deletions
|
|
@ -943,7 +943,7 @@ bool AppInitParameterInteraction()
|
|||
}
|
||||
|
||||
if (!fs::is_directory(GetBlocksDir())) {
|
||||
return InitError(strprintf(_("Specified blocks directory \"%s\" does not exist.").translated, gArgs.GetArg("-blocksdir", "").c_str()));
|
||||
return InitError(strprintf(_("Specified blocks directory \"%s\" does not exist.").translated, gArgs.GetArg("-blocksdir", "")));
|
||||
}
|
||||
|
||||
// parse and validate enabled filter types
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue