"tests/git@developer.sourcefind.cn:gaoqiong/pybind11.git" did not exist on "9077bcd1fc858f7281bd00e1a89fde80dae51cc0"
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:
}
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)))...);
}
......
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