[Scummvm-cvs-logs] CVS: scummvm/common singleton.h,1.5,1.6

Travis Howell kirben at users.sourceforge.net
Tue Dec 28 21:02:01 CET 2004


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22311/common

Modified Files:
	singleton.h 
Log Message:

Compile fix from cyx


Index: singleton.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/singleton.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- singleton.h	28 Dec 2004 20:29:42 -0000	1.5
+++ singleton.h	29 Dec 2004 05:01:27 -0000	1.6
@@ -60,7 +60,7 @@
 //template <class T>
 //T* Singleton<T>::_singleton=0;
 
-#define DECLARE_SINGLETON(T) T* Common::Singleton<T>::_singleton=0
+#define DECLARE_SINGLETON(T) template<> T* Common::Singleton<T>::_singleton=0
 
 }	// End of namespace Common
 





More information about the Scummvm-git-logs mailing list