[Scummvm-cvs-logs] CVS: scummvm/common map.h,1.11,1.12

Max Horn fingolfin at users.sourceforge.net
Thu Oct 2 10:08:11 CEST 2003


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv12450

Modified Files:
	map.h 
Log Message:
fix a warning wjp gets with gcc 3.2.3

Index: map.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/map.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- map.h	6 Sep 2003 12:03:33 -0000	1.11
+++ map.h	2 Oct 2003 17:07:50 -0000	1.12
@@ -42,9 +42,11 @@
 
 	Map<Key, Value>(const Map<Key, Value> &map) {
 		error("No copy constructor!");
+		return 0;
 	}
 	Map<Key, Value> &operator =(const Map<Key, Value> &map) {
 		error("No copy operator!");
+		return 0;
 	}
 
 public:





More information about the Scummvm-git-logs mailing list