mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +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
|
|
@ -70,7 +70,7 @@ static bool AppInit(int argc, char* argv[])
|
|||
strUsage += "\n" + gArgs.GetHelpMessage();
|
||||
}
|
||||
|
||||
tfm::format(std::cout, "%s", strUsage.c_str());
|
||||
tfm::format(std::cout, "%s", strUsage);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue