[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdegames/kpat
From: David Faure <faure () kde ! org>
Date: 2012-02-16 14:14:13
Message-ID: 20120216141413.ADEE8AC895 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1280303 by dfaure:
fix compilation with strict iterators
M +1 -1 dealer.cpp
--- trunk/KDE/kdegames/kpat/dealer.cpp #1280302:1280303
@@ -370,7 +370,7 @@
bool ok;
int index = readIntAttribute( xml, "index", &ok );
- QHash<int,PatPile*>::const_iterator it = piles.find( index );
+ QHash<int,PatPile*>::const_iterator it = piles.constFind( index );
if ( !ok || it == piles.constEnd() )
{
kWarning() << "Unrecognized pile index:" << xml.attributes().value( "index" );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic