From 9a0dda1f3d82eeb37ff9ad5332cf9ec645f984e9 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Thu, 9 Jul 2015 18:18:34 -0400 Subject: [PATCH] Fix VC++ warning --- sol/stack.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sol/stack.hpp b/sol/stack.hpp index 99d57563..5fdc5ca6 100644 --- a/sol/stack.hpp +++ b/sol/stack.hpp @@ -130,6 +130,8 @@ template bool check(lua_State* L, int index, Handler&& handler) { typedef Unqualified Tu; checker c; + // VC++ has a bad warning here: shut it up + (void)c; return c.check(L, index, std::forward(handler)); }