Skip to content
Browse files

Merge pull request #2975 from Fice/empty

Prefer empty() over size()
  • Loading branch information...
2 parents db911a5 + 61b21e5 commit c48448beeb87b617a223a3f6ec31ff9f193ecd7b @davilla davilla committed
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

0 comments on commit c48448b

Please sign in to comment.
Something went wrong with that request. Please try again.