fix g++ compile

This commit is contained in:
Glenn Maynard
2005-02-01 19:59:41 +00:00
parent 275edd909b
commit 4aa142711d
+2 -2
View File
@@ -132,8 +132,8 @@ private:
#define LUA_REGISTER_CLASS( T ) \
const char Luna##T<T>::s_className[] = #T; \
Luna##T<T>::RegTypeVector* Luna##T<T>::s_pvMethods = NULL; \
const char Luna<T>::s_className[] = #T; \
Luna##T<T>::RegTypeVector* Luna<T>::s_pvMethods = NULL; \
static Luna##T<T> registera; \
void T::PushSelf( lua_State *L ) { Luna##T<T>::Push( L, this ); }