Skip to content
This repository
Browse code

Prefer empty() over size()

  • Loading branch information...
commit 61b21e5699b0efaa04c737f16639ba988dc7d42d 1 parent 9dfe7cb
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 61b21e5

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