HomePhabricator

refactor: Remove redundant c_str() calls in formatting

Description

refactor: Remove redundant c_str() calls in formatting

Summary:
Our formatter, tinyformat, *never* needs c_str() for strings.
Remove redundant c_str() calls for:

  • strprintf
  • LogPrintf
  • tfm::format

This is a backport of Core PR17279

Test Plan:

ninja all check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D5908

Details

Provenance
Wladimir J. van der Laan <laanwj@protonmail.com>Authored on Oct 28 2019, 12:30
deadalnixCommitted on Apr 30 2020, 16:12
nakihitoPushed on Apr 30 2020, 16:55
Reviewer
Restricted Project
Differential Revision
D5908: refactor: Remove redundant c_str() calls in formatting
Parents
rSTAGING4943f9ea3acc: Add settings_tests
Branches
Unknown
Tags
Unknown