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 12c051a commit 3aeb7cdCopy full SHA for 3aeb7cd
src/xrScriptEngine/Functor.hpp
@@ -50,4 +50,12 @@ struct default_converter<functor<T>> : native_converter_base<functor<T>>
50
void to(lua_State *luaState, const functor<T> &func)
51
{ func.push(luaState); }
52
};
53
+
54
+template<typename T>
55
+struct default_converter<const functor<T>> : default_converter<functor<T>>
56
+{};
57
58
59
+struct default_converter<const functor<T> &> : default_converter<functor<T>>
60
61
}
0 commit comments