diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-05-31 07:03:52 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-05-31 07:03:54 -0400 |
| commit | 15397e2a8909eb226e169d496852b6e5625fc4fb (patch) | |
| tree | 68478e504740656285b33f11f880c5dfb9f379c0 /Source/Core/VideoCommon/RenderBase.cpp | |
| parent | 1a56e9d9e096db7e7f0e219776c3bbc8397cd296 (diff) | |
AudioCommon: Use emplace_back instead of push_back in GetSoundBackends()
Constructs the strings directly within the container instead of
performing a construction, then a copy.
The reasoning is that the BACKEND_* strings are const char arrays, so
the push_back code is equivalent to:
push_back(std::string(BACKEND_WHATEVER)) instead of forwarding the
arguments to a constructed instance directly in the container.
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
0 files changed, 0 insertions, 0 deletions
