From 352bc0409454032acc5e8fb256d5ed8f46445b5a Mon Sep 17 00:00:00 2001 From: Sangwhan Moon Date: Tue, 4 Oct 2016 15:06:40 +0900 Subject: [PATCH] Replace std::forward/std::make_tuple combo with std::forward_as_tuple Quick and dirty fix for #3552. May not work or break compatibility with other compilers. --- ext/luawrapper/include/LuaContext.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/luawrapper/include/LuaContext.hpp b/ext/luawrapper/include/LuaContext.hpp index 2c4bb30e80..e9627d689c 100644 --- a/ext/luawrapper/include/LuaContext.hpp +++ b/ext/luawrapper/include/LuaContext.hpp @@ -1310,7 +1310,7 @@ private: RealReturnType; // we push the parameters on the stack - auto inArguments = Pusher>::push(state, std::make_tuple(std::forward(input)...)); + auto inArguments = Pusher>::push(state, std::forward_as_tuple((input)...)); // const int outArgumentsCount = std::tuple_size::value; -- 2.47.2