Lua/LuaInstance: Resolve ambiguous overload
Former-commit-id: 581b56a8e83f67b4f44413b7c4e75071e77cf0f5
This commit is contained in:
@@ -103,7 +103,7 @@ namespace Nz
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
unsigned int LuaImplQueryArg(const LuaInstance& instance, int index, T* arg, const T& defValue, TypeTag<T> tag)
|
std::enable_if_t<!std::is_integral<T>::value, unsigned int> LuaImplQueryArg(const LuaInstance& instance, int index, T* arg, const T& defValue, TypeTag<T> tag)
|
||||||
{
|
{
|
||||||
if (instance.IsValid(index))
|
if (instance.IsValid(index))
|
||||||
return LuaImplQueryArg(instance, index, arg, tag);
|
return LuaImplQueryArg(instance, index, arg, tag);
|
||||||
|
|||||||
Reference in New Issue
Block a user