summaryrefslogtreecommitdiff
path: root/src/common/microprofile.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
commit6f168262605d7979d8069cd9dad21932a522263d (patch)
tree79f732b0a01deca032c6d1cf6ab408c454c08037 /src/common/microprofile.cpp
parentbc679c9b8c05d3db46da8cef77e729b31c6dbff5 (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/microprofile.cpp')
0 files changed, 0 insertions, 0 deletions