Update of /cvsroot/mod-c/ehtml/include
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv22836/include
Modified Files:
Plugin.h
Log Message:
* Make gcc-4.1.1 happy about DECLARE_PLUGIN macro.
Index: Plugin.h
===================================================================
RCS file: /cvsroot/mod-c/ehtml/include/Plugin.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Plugin.h 8 Sep 2006 14:27:47 -0000 1.1
--- Plugin.h 12 Sep 2006 12:55:18 -0000 1.2
***************
*** 48,53 ****
#define DECLARE_PLUGIN(C) \
! map<string,C*> Pluggable<C>::_map; \
! C* Pluggable<C>::_selected = NULL;
//@TODO: write a plug-in registerer
--- 48,53 ----
#define DECLARE_PLUGIN(C) \
! template<> std::map<std::string,C*> Pluggable<C>::_map; \
! template<> C* Pluggable<C>::_selected = NULL;
//@TODO: write a plug-in registerer
|