From: Peter van Dijk Date: Fri, 24 Mar 2017 10:27:24 +0000 (+0100) Subject: Revert "Replace std::forward/std::make_tuple combo with std::forward_as_tuple" X-Git-Tag: rec-4.1.0-alpha1~171^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3ecf1bab481dd59a92a603c3aa8c9816355c5d6;p=thirdparty%2Fpdns.git Revert "Replace std::forward/std::make_tuple combo with std::forward_as_tuple" This reverts commit 352bc0409454032acc5e8fb256d5ed8f46445b5a. --- diff --git a/ext/luawrapper/include/LuaContext.hpp b/ext/luawrapper/include/LuaContext.hpp index 14e927fac3..5d95225fe1 100644 --- a/ext/luawrapper/include/LuaContext.hpp +++ b/ext/luawrapper/include/LuaContext.hpp @@ -1321,7 +1321,7 @@ private: RealReturnType; // we push the parameters on the stack - auto inArguments = Pusher>::push(state, std::forward_as_tuple((input)...)); + auto inArguments = Pusher>::push(state, std::make_tuple(std::forward(input)...)); // const int outArgumentsCount = std::tuple_size::value;