We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9823b0c commit 91f884dCopy full SHA for 91f884d
include/kaguya/object.hpp
@@ -62,7 +62,7 @@ namespace kaguya
62
if (luaL_newmetatable(l, metatablename))
63
{
64
#if LUA_VERSION_NUM < 503
65
- lua_pushstring(l, metatableName<T>().c_str());
+ lua_pushstring(l, metatablename);
66
lua_setfield(l, -2, "__name");
67
#endif
68
lua_pushstring(l, metatablename);
0 commit comments