Fix VC++ warning

This commit is contained in:
ThePhD 2015-07-09 18:18:34 -04:00
parent feefb4859f
commit 9a0dda1f3d

View File

@ -130,6 +130,8 @@ template <typename T, typename Handler>
bool check(lua_State* L, int index, Handler&& handler) { bool check(lua_State* L, int index, Handler&& handler) {
typedef Unqualified<T> Tu; typedef Unqualified<T> Tu;
checker<Tu> c; checker<Tu> c;
// VC++ has a bad warning here: shut it up
(void)c;
return c.check(L, index, std::forward<Handler>(handler)); return c.check(L, index, std::forward<Handler>(handler));
} }