Lua/LuaInstance: Resolve ambiguous overload

Former-commit-id: 581b56a8e83f67b4f44413b7c4e75071e77cf0f5
This commit is contained in:
Lynix 2015-12-18 13:26:08 +01:00
parent 163e73f5d2
commit 39f2c4eb07
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ namespace Nz
}
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))
return LuaImplQueryArg(instance, index, arg, tag);