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

List:       atlantik-devel
Subject:    [atlantik-cvs] CVS: kdegames/atlantik/libatlantikclient atlantik_network.cpp,1.49,1.50
From:       kde () office ! kde ! org
Date:       2002-07-17 7:42:26
[Download RAW message or body]

Update of /home/kde/kdegames/atlantik/libatlantikclient
In directory office:/tmp/cvs-serv6552/libatlantikclient

Modified Files:
	atlantik_network.cpp 
Log Message:
kdDebug cannot be used with std::endl

Index: atlantik_network.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.cpp,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- atlantik_network.cpp	2002/07/16 01:47:36	1.49
+++ atlantik_network.cpp	2002/07/17 07:42:23	1.50
@@ -208,7 +208,7 @@
 	if (socketStatus() == KExtendedSocket::connected)
 		writeBlock(msg.latin1(), strlen(msg.latin1()));
 	else
-		kdDebug() << "could not send [" << msg << "]" << std::endl;
+		kdDebug() << "could not send [" << msg << "]" << endl;
 }
 
 void AtlantikNetwork::slotRead()
@@ -234,7 +234,7 @@
 
 void AtlantikNetwork::processMsg(QString str)
 {
-	kdDebug() << "processing msg: " + str << std::endl;
+	kdDebug() << "processing msg: " + str << endl;
 	msg.setContent(str);
 	QDomElement e = msg.documentElement();
 	if (e.tagName() != "monopd")
@@ -710,7 +710,7 @@
 										pTo = m_playerMap[a.value().toInt()];
 
 									a = e_child.attributeNode(QString("money"));
-									kdDebug() << "tradeupdatemoney" << (pFrom ? "1" : "0") << (pTo ? "1" : "0") \
<< (a.isNull() ? "0" : "1") << std::endl; +									kdDebug() << "tradeupdatemoney" \
<< (pFrom ? "1" : "0") << (pTo ? "1" : "0") << (a.isNull() ? "0" : "1") << endl;  if \
(trade && pFrom && pTo && !a.isNull())  trade->updateMoney(a.value().toInt(), pFrom, \
pTo);  }
@@ -782,7 +782,7 @@
 				}
 			}
 			else
-				kdDebug() << "ignored TAG: " << e.tagName() << std::endl;
+				kdDebug() << "ignored TAG: " << e.tagName() << endl;
 		}
 		// TODO: remove permanently?
 		// QDomNode node = n.firstChild();

_______________________________________________
atlantik-cvs mailing list
atlantik-cvs@mail.kde.org
http://mail.kde.org/mailman/listinfo/atlantik-cvs


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

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