diff --git a/include/Nazara/Lua/LuaState.inl b/include/Nazara/Lua/LuaState.inl index be1cf5cad..62669d72b 100644 --- a/include/Nazara/Lua/LuaState.inl +++ b/include/Nazara/Lua/LuaState.inl @@ -159,36 +159,6 @@ namespace Nz return LuaImplQueryArg(instance, index, arg, defValue, TypeTag()); } - template - unsigned int LuaImplQueryArg(const LuaState& instance, int index, std::vector* container, TypeTag>) - { - instance.CheckType(index, Nz::LuaType_Table); - std::size_t index = 1; - - for (;;) - { - instance.PushInteger(index++); - - if (instance.GetTable() == Nz::LuaType_Nil) - { - instance.Pop(); - break; - } - - T arg {}; - - if (LuaImplQueryArg(instance, -1, &arg, TypeTag()) != 1) - { - instance.Error("Type needs more than one place to be initialized"); - return 0; - } - - container->push_back(arg); - } - - return 1; - } - // Function returns inline int LuaImplReplyVal(const LuaState& instance, bool val, TypeTag) {