"git@developer.sourcefind.cn:gaoqiong/pybind11.git" did not exist on "e2a96890e12e71074ed3ff4acfd23b83fc14f923"
Commit 370a2ae2 authored by Robert Haschke's avatar Robert Haschke Committed by Wenzel Jakob
Browse files

Declare call_impl() as && (#2057)

parent bf2b0314
...@@ -1978,7 +1978,7 @@ private: ...@@ -1978,7 +1978,7 @@ private:
} }
template <typename Return, typename Func, size_t... Is, typename Guard> template <typename Return, typename Func, size_t... Is, typename Guard>
Return call_impl(Func &&f, index_sequence<Is...>, Guard &&) { Return call_impl(Func &&f, index_sequence<Is...>, Guard &&) && {
return std::forward<Func>(f)(cast_op<Args>(std::move(std::get<Is>(argcasters)))...); return std::forward<Func>(f)(cast_op<Args>(std::move(std::get<Is>(argcasters)))...);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment