diff --git a/Source/Core/AudioCommon/AudioCommon.cpp b/Source/Core/AudioCommon/AudioCommon.cpp index 79a89f83f9..ec68ef87aa 100644 --- a/Source/Core/AudioCommon/AudioCommon.cpp +++ b/Source/Core/AudioCommon/AudioCommon.cpp @@ -99,20 +99,20 @@ std::vector GetSoundBackends() { std::vector backends; - backends.push_back(BACKEND_NULLSOUND); - backends.push_back(BACKEND_CUBEB); + backends.emplace_back(BACKEND_NULLSOUND); + backends.emplace_back(BACKEND_CUBEB); if (XAudio2_7::isValid() || XAudio2::isValid()) - backends.push_back(BACKEND_XAUDIO2); + backends.emplace_back(BACKEND_XAUDIO2); if (AlsaSound::isValid()) - backends.push_back(BACKEND_ALSA); + backends.emplace_back(BACKEND_ALSA); if (PulseAudio::isValid()) - backends.push_back(BACKEND_PULSEAUDIO); + backends.emplace_back(BACKEND_PULSEAUDIO); if (OpenALStream::isValid()) - backends.push_back(BACKEND_OPENAL); + backends.emplace_back(BACKEND_OPENAL); if (OpenSLESStream::isValid()) - backends.push_back(BACKEND_OPENSLES); + backends.emplace_back(BACKEND_OPENSLES); if (WASAPIStream::isValid()) - backends.push_back(BACKEND_WASAPI); + backends.emplace_back(BACKEND_WASAPI); return backends; }