Montellese/xbmc — comment on commit b4384516746527c8002000e9885bac475a31ff9e
File: xbmc/settings/GUISettings.cpp line 1166
By jmarshallnz:

I prefer iterators, but won't quibble.

Not sure why you need to check cat->m_settings.size() above.