Skip to content

Commit

Permalink
Fix compile error (#574)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elpersonn committed Jul 20, 2022
1 parent 601af49 commit addd1eb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rts/Lua/LuaObjectRendering.h
Expand Up @@ -11,13 +11,10 @@ struct lua_State;
template<LuaObjType T> class LuaObjectRendering;

class LuaObjectRenderingImpl {
#if __GNUC__ == 11
public:
#else
private:
friend class LuaObjectRendering<LUAOBJ_UNIT>;
friend class LuaObjectRendering<LUAOBJ_FEATURE>;
#endif
static void CreateMatRefMetatable(lua_State* L);
static void PushFunction(lua_State* L, int (*fnPntr)(lua_State*), const char* fnName);

Expand Down

0 comments on commit addd1eb

Please sign in to comment.