Our formatter, tinyformat, never needs c_str()
for strings. Still, many places call it redundantly, resulting in longer code and a slight overhead.
Remove redundant c_str()
calls for:
strprintf
LogPrintf
tfm::format
(also, combined with #17095, I think this improves logging in case of unexpected embedded NULL characters)