diff options
Diffstat (limited to '')
-rw-r--r-- | src/state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.cpp b/src/state.cpp index 6c49694..88f406a 100644 --- a/src/state.cpp +++ b/src/state.cpp | |||
@@ -159,7 +159,7 @@ namespace state { | |||
159 | return luaL_newstate(); | 159 | return luaL_newstate(); |
160 | } else { | 160 | } else { |
161 | lanes::AllocatorDefinition const _def{ U->resolveAllocator(from, hint) }; | 161 | lanes::AllocatorDefinition const _def{ U->resolveAllocator(from, hint) }; |
162 | return lua_newstate(_def.allocF, _def.allocUD); | 162 | return _def.newState(); |
163 | } | 163 | } |
164 | } | 164 | } |
165 | ) | 165 | ) |