Fix "too few template-parameter-lists" error.

This commit is contained in:
Steve Checkoway
2005-06-20 11:20:30 +00:00
parent 74828836cb
commit 5fd18e730a
+1 -1
View File
@@ -170,7 +170,7 @@ private:
#define LUA_REGISTER_DERIVED_CLASS( T, B ) \
template<> const char *Luna<T>::m_sClassName = #T; \
template<> const char *Luna<T>::m_sBaseClassName = #B; \
Luna<T>::RegTypeVector* Luna<T>::s_pvMethods = NULL; \
template<> Luna<T>::RegTypeVector* Luna<T>::s_pvMethods = NULL; \
static Luna##T registera; \
void T::PushSelf( lua_State *L ) { Luna##T::Push( L, this ); } \
/* Call PushSelf, so we always call the derived Luna<T>::Push. */ \