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

I prefer iterators too but only for maps and not for vectors because I think the "(*iterator).foo" looks odd ;-)

Well if there are no settings for the group we don't really need to go through the sorting etc because there won't be anything to sort/return.