diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-22 15:47:37 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-22 16:39:21 -0400 |
commit | 9d331221970a26a2d2f68fe51c0249b62fafd0a2 (patch) | |
tree | ac87eddd414ff4cbd1983070ebcf92e32c4973d4 /src/video_core/gpu.h | |
parent | 26a157cd31676f419420078e7d99df90d9fbc910 (diff) |
string_util: Get rid of separate resize() in CPToUTF16(), UTF16ToUTF8(), CodeToUTF8() and UTF8ToUTF16()
There's no need to perform the resize separately here, since the
constructor allows presizing the buffer.
Also move the empty string check before the construction of the string
to make the early out more straightforward.
Diffstat (limited to 'src/video_core/gpu.h')
0 files changed, 0 insertions, 0 deletions