Remove redundant .c_str()s

After the tinyformat switch sprintf() family functions support passing
actual std::string objects.

Remove unnecessary c_str calls (236 of them) in logging and formatting.
This commit is contained in:
Wladimir J. van der Laan
2014-01-16 16:15:27 +01:00
parent b77dfdc9e3
commit 7d9d134bf9
22 changed files with 236 additions and 236 deletions

View File

@@ -62,7 +62,7 @@ Q_DECLARE_METATYPE(bool*)
static void InitMessage(const std::string &message)
{
LogPrintf("init message: %s\n", message.c_str());
LogPrintf("init message: %s\n", message);
}
/*