aboutsummaryrefslogtreecommitdiff
path: root/src/common/param_package.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-04 23:55:50 -0400
committerLioncash <mathew1800@gmail.com>2018-10-04 23:55:53 -0400
commit025ab5f04fd361a7968ba2abde2e10c70230ebbc (patch)
tree79f732b0a01deca032c6d1cf6ab408c454c08037 /src/common/param_package.cpp
parentbc5dde276571f0dceebeb2e567729a6fb9f0bab0 (diff)
text_formatter: Avoid unnecessary string temporary creation in PrintMessage()
operator+ for std::string creates an entirely new string, which is kind of unnecessary here if we just want to append a null terminator to the existing one. Reduces the total amount of potential allocations that need to be done in the logging path.
Diffstat (limited to 'src/common/param_package.cpp')
0 files changed, 0 insertions, 0 deletions