mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
no_constructor
This commit is contained in:
parent
855d480049
commit
ca1e85d06d
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user