[atlantik-cvs] CVS: kdegames/atlantik/libatlantic trade.h,1.11.8.5,1.11.8.6

[email protected] (Dirk Mueller <[email protected]>)
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
Update of /home/kde/kdegames/atlantik/libatlantic
In directory office:/tmp/cvs-serv32335/libatlantic

Modified Files:
      Tag: KDE_3_1_BRANCH
	trade.h 
Log Message:
I can't pressure my compiler to accept this invalid C++ code.


Index: trade.h
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantic/trade.h,v
retrieving revision 1.11.8.5
retrieving revision 1.11.8.6
diff -u -d -r1.11.8.5 -r1.11.8.6
--- trade.h	17 Jul 2003 00:35:12 -0000	1.11.8.5
+++ trade.h	24 Jul 2003 18:03:02 -0000	1.11.8.6
@@ -118,7 +118,7 @@
 	 **/
 	template <class Type> Type *select(Player *from, Player *to)
 	{
-		for (QPtrListIterator<Player> i(mPlayers()); *i; ++i)
+		for (QPtrListIterator<Player> i(mPlayers); *i; ++i)
 		{
 			if (
 					i.current()->from()==from
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.