Skip to content
This repository
Browse code

Merge pull request #2975 from Fice/empty

Prefer empty() over size()
  • Loading branch information...
commit c48448beeb87b617a223a3f6ec31ff9f193ecd7b 2 parents db911a5 + 61b21e5
davilla authored July 15, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  xbmc/addons/Addon.cpp
2  xbmc/addons/Addon.cpp
@@ -495,7 +495,7 @@ bool CAddon::LoadUserSettings()
495 495
 
496 496
 void CAddon::SaveSettings(void)
497 497
 {
498  
-  if (!m_settings.size())
  498
+  if (m_settings.empty())
499 499
     return; // no settings to save
500 500
 
501 501
   // break down the path into directories

0 notes on commit c48448b

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