From 5fd18e730a59ee6d8dcc36f14c423365b444df02 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Mon, 20 Jun 2005 11:20:30 +0000 Subject: [PATCH] Fix "too few template-parameter-lists" error. --- stepmania/src/LuaBinding.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/LuaBinding.h b/stepmania/src/LuaBinding.h index 524192cc1e..1137a527a5 100644 --- a/stepmania/src/LuaBinding.h +++ b/stepmania/src/LuaBinding.h @@ -170,7 +170,7 @@ private: #define LUA_REGISTER_DERIVED_CLASS( T, B ) \ template<> const char *Luna::m_sClassName = #T; \ template<> const char *Luna::m_sBaseClassName = #B; \ - Luna::RegTypeVector* Luna::s_pvMethods = NULL; \ + template<> Luna::RegTypeVector* Luna::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::Push. */ \