diff options
| author | 2018-10-04 23:55:50 -0400 | |
|---|---|---|
| committer | 2018-10-04 23:55:53 -0400 | |
| commit | 6f168262605d7979d8069cd9dad21932a522263d (patch) | |
| tree | 79f732b0a01deca032c6d1cf6ab408c454c08037 /externals/json/json.hpp | |
| parent | Merge pull request #1330 from raven02/tlds (diff) | |
| download | yuzu-6f168262605d7979d8069cd9dad21932a522263d.tar.gz yuzu-6f168262605d7979d8069cd9dad21932a522263d.tar.xz yuzu-6f168262605d7979d8069cd9dad21932a522263d.zip | |
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 'externals/json/json.hpp')
0 files changed, 0 insertions, 0 deletions