From: Sangwhan Moon Date: Tue, 4 Oct 2016 06:06:40 +0000 (+0900) Subject: Replace std::forward/std::make_tuple combo with std::forward_as_tuple X-Git-Tag: dnsdist-1.1.0-beta2~86^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4537%2Fhead;p=thirdparty%2Fpdns.git 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. --- 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;