diff options
| author | Filip Gawin <filip.gawin@zoho.com> | 2019-02-12 23:47:17 +0100 |
|---|---|---|
| committer | Filip Gawin <filip.gawin@zoho.com> | 2019-02-13 00:03:49 +0100 |
| commit | 49fe9f5db13f15460a49c5771ee0d2c6b8bfdc3c (patch) | |
| tree | d5bbc9e6df9ade7cd4e6917af5cc0f286eaa91ff /Source/Core/UICommon/CommandLineParse.cpp | |
| parent | 363ce67459fd48253d2a38cf2528c7465db49911 (diff) | |
Use empty instead of size
Diffstat (limited to 'Source/Core/UICommon/CommandLineParse.cpp')
| -rw-r--r-- | Source/Core/UICommon/CommandLineParse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/UICommon/CommandLineParse.cpp b/Source/Core/UICommon/CommandLineParse.cpp index 69f1491ad7..46838f05c3 100644 --- a/Source/Core/UICommon/CommandLineParse.cpp +++ b/Source/Core/UICommon/CommandLineParse.cpp @@ -25,10 +25,10 @@ public: const std::string& audio_backend) : ConfigLayerLoader(Config::LayerType::CommandLine) { - if (video_backend.size()) + if (!video_backend.empty()) m_values.emplace_back(std::make_tuple(Config::MAIN_GFX_BACKEND.location, video_backend)); - if (audio_backend.size()) + if (!audio_backend.empty()) m_values.emplace_back( std::make_tuple(Config::MAIN_DSP_HLE.location, ValueToString(audio_backend == "HLE"))); |
