no_constructor

This commit is contained in:
Ubpa 2020-08-03 09:57:14 +08:00 committed by The Phantom Derpstorm
parent 855d480049
commit ca1e85d06d

View File

@ -497,7 +497,7 @@ namespace sol {
template <typename T> template <typename T>
struct unqualified_pusher<detail::tagged<T, no_construction>> { struct unqualified_pusher<detail::tagged<T, no_construction>> {
static int push(lua_State* L, no_construction) { static int push(lua_State* L, detail::tagged<T, no_construction>) {
lua_CFunction cf = &function_detail::no_construction_error; lua_CFunction cf = &function_detail::no_construction_error;
return stack::push(L, cf); return stack::push(L, cf);
} }