Update StarLuaConverters.hpp
This commit is contained in:
parent
ea084165bf
commit
d07baefaaa
@ -24,6 +24,7 @@ struct LuaConverter<LuaNullTermWrapper<T>> : LuaConverter<T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static LuaNullTermWrapper<T> to(LuaEngine& engine, LuaValue const& v) {
|
static LuaNullTermWrapper<T> to(LuaEngine& engine, LuaValue const& v) {
|
||||||
|
auto enforcer = engine.nullTerminate();
|
||||||
return LuaConverter<T>::to(engine, v);
|
return LuaConverter<T>::to(engine, v);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user