mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Fix VC++ warning
This commit is contained in:
parent
feefb4859f
commit
9a0dda1f3d
|
@ -130,6 +130,8 @@ template <typename T, typename Handler>
|
|||
bool check(lua_State* L, int index, Handler&& handler) {
|
||||
typedef Unqualified<T> Tu;
|
||||
checker<Tu> c;
|
||||
// VC++ has a bad warning here: shut it up
|
||||
(void)c;
|
||||
return c.check(L, index, std::forward<Handler>(handler));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user