diff --git a/Source/Core/UICommon/CommandLineParse.cpp b/Source/Core/UICommon/CommandLineParse.cpp index 1a7f2bb82d..6eb94844d6 100644 --- a/Source/Core/UICommon/CommandLineParse.cpp +++ b/Source/Core/UICommon/CommandLineParse.cpp @@ -26,11 +26,10 @@ public: : ConfigLayerLoader(Config::LayerType::CommandLine) { if (!video_backend.empty()) - m_values.emplace_back(std::make_tuple(Config::MAIN_GFX_BACKEND.location, video_backend)); + m_values.emplace_back(Config::MAIN_GFX_BACKEND.location, video_backend); if (!audio_backend.empty()) - m_values.emplace_back( - std::make_tuple(Config::MAIN_DSP_HLE.location, ValueToString(audio_backend == "HLE"))); + m_values.emplace_back(Config::MAIN_DSP_HLE.location, ValueToString(audio_backend == "HLE")); // Arguments are in the format of .
.=Value for (const auto& arg : args) @@ -45,7 +44,8 @@ public: if (system) { m_values.emplace_back( - std::make_tuple(Config::ConfigLocation{*system, section, key}, value)); + Config::ConfigLocation{std::move(*system), std::move(section), std::move(key)}, + std::move(value)); } } }