Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Prefer empty() over size()

  • Loading branch information...
commit 61b21e5699b0efaa04c737f16639ba988dc7d42d 1 parent 9dfe7cb
Fice authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/addons/Addon.cpp
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.