Compile fixes (strict iterators + no deprecated kutils)
ervin at kde.org
Thu Oct 7 08:23:12 UTC 2010
On Thursday 7 October 2010 10:05:03 Esben Mose Hansen wrote:
> THe 2nd one is actually pretty interesting. Apparantly, QT creates a deep
> copy of any implicitly shared QList upon calling .begin() (or .end()). I
> suppose that might be a problem.
> The typedef itself is pretty broken, though. iterator really should be
> convertible to const_iterator.
Well, it does by default, but not when you build using QT_STRICT_ITERATORS
like me though... Which helps catching the wrong uses of .begin() that you
Kévin Ottens, http://ervin.ipsquad.net
KDAB - proud patron of KDE, http://www.kdab.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: This is a digitally signed message part.
More information about the KDevelop-devel