Fix "too few template-parameter-lists" error.
This commit is contained in:
@@ -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. */ \
|
||||
|
||||
Reference in New Issue
Block a user