KServiceFactory question
Thomas Braxton
brax108 at cox.net
Mon Dec 5 05:54:00 GMT 2005
in kdelibs/kio/kio/kservicefactory.cpp:207, I found this
KService::List KServiceFactory::allServices()
{
KService::List result;
const KSycocaEntry::List list = allEntries();
KSycocaEntry::List::const_iterator it = list.begin();
const KSycocaEntry::List::const_iterator end = list.begin();
for( ; it != end; ++it ) ^^^^^^^^^^
shouldn't end = list.end()? it doesn't seem like the loop will execute
correctly as it is.
is this intentional, or is it a typo?
Thomas
More information about the kde-core-devel
mailing list