Fix unused parameter warning

This commit is contained in:
Gunter Labes 2020-09-04 09:04:58 +02:00 committed by GitHub
parent 6ef05c73e7
commit 8c103a9018
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,6 +88,7 @@ namespace lua_check_impl
std::enable_if_t<std::is_same<T, lua_index_raw>::value, lua_index_raw>
lua_to_or_default(lua_State *L, int n, const T& /*def*/)
{
UNUSED(L);
return lua_index_raw{ n };
}