Update StarLuaConverters.hpp

This commit is contained in:
Kae 2023-07-25 00:57:35 +10:00
parent ea084165bf
commit d07baefaaa

View File

@ -24,6 +24,7 @@ struct LuaConverter<LuaNullTermWrapper<T>> : LuaConverter<T> {
}
static LuaNullTermWrapper<T> to(LuaEngine& engine, LuaValue const& v) {
auto enforcer = engine.nullTerminate();
return LuaConverter<T>::to(engine, v);
}
};