[atlantik-cvs] CVS: kdegames/atlantik/libatlantic trade.cpp,1.23,1.24 trade.h,1.15,1.16

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

Modified Files:
	trade.cpp trade.h 
Log Message:
add const for those who care

Index: trade.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantic/trade.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- trade.cpp	11 Jul 2003 07:29:12 -0000	1.23
+++ trade.cpp	12 Jul 2003 18:14:22 -0000	1.24
@@ -31,7 +31,7 @@
 	m_revision = revision;
 }
 
-int Trade::revision()
+int Trade::revision() const
 {
 	return m_revision;
 }

Index: trade.h
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantic/trade.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- trade.h	11 Jul 2003 07:29:12 -0000	1.15
+++ trade.h	12 Jul 2003 18:14:22 -0000	1.16
@@ -102,7 +102,7 @@
 	int tradeId() { return m_tradeId; }
 
 	void setRevision(int revision);
-	int revision();
+	int revision() const;
 
 	void addPlayer(Player *player);
 	void removePlayer(Player *player);
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.