[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/cpptoxml
From:       Laurent Montel <montel () kde ! org>
Date:       2011-03-02 20:49:43
Message-ID: 20110302204943.D1C10AC8C2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1223408 by mlaurent:

Fix compile with strict iterator


 M  +2 -2      main.cpp  


--- trunk/kdesupport/cpptoxml/main.cpp #1223407:1223408
@@ -110,8 +110,8 @@
 	(void)scope;
 	if (!resolve_types) return t;
 	TypeInfo tt(t);
-	for (QList<CodeModelItem>::const_iterator i=current_scope.begin();
-			i<current_scope.end();
+	for (QList<CodeModelItem>::const_iterator i=current_scope.constBegin();
+			i<current_scope.constEnd();
 			i++) {
 		TypeInfo ttt = tt;
 		//qDebug() << tt.toString() << ttt.toString();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic