diff options
author | Fice <fice@arcor.de> | 2013-07-15 17:54:54 +0200 |
---|---|---|
committer | Fice <fice@arcor.de> | 2013-07-15 17:56:32 +0200 |
commit | 61b21e5699b0efaa04c737f16639ba988dc7d42d (patch) | |
tree | 977043bafc40f4cbe8fe258a4e62a12dbc996a6b | |
parent | 9dfe7cbef07864dcd918000b4a7703640fbed429 (diff) |
Prefer empty() over size()
-rw-r--r-- | xbmc/addons/Addon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/addons/Addon.cpp b/xbmc/addons/Addon.cpp index a954d2a3f7..db619f7b29 100644 --- a/xbmc/addons/Addon.cpp +++ b/xbmc/addons/Addon.cpp @@ -495,7 +495,7 @@ bool CAddon::LoadUserSettings() void CAddon::SaveSettings(void) { - if (!m_settings.size()) + if (m_settings.empty()) return; // no settings to save // break down the path into directories |