diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-10-04 23:55:50 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-10-04 23:55:53 -0400 |
| commit | 025ab5f04fd361a7968ba2abde2e10c70230ebbc (patch) | |
| tree | 79f732b0a01deca032c6d1cf6ab408c454c08037 /src/core/hle/kernel/thread.cpp | |
| parent | bc5dde276571f0dceebeb2e567729a6fb9f0bab0 (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/core/hle/kernel/thread.cpp')
0 files changed, 0 insertions, 0 deletions
