Skip to content

Commit 5deb072

Browse files
committed
more simplification
1 parent 6b53313 commit 5deb072

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/pybind11/pybind11.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,7 @@ class cpp_function : public function {
156156
using Guard = extract_guard_t<Extra...>;
157157

158158
/* Perform the function call */
159-
handle result = cast_out::cast(
160-
std::move(args_converter).template call<Return, Guard>(cap->f), policy, call.parent);
159+
handle result = cast_out::cast(args_converter.template call<Return, Guard>(cap->f), policy, call.parent);
161160

162161
/* Invoke call policy post-call hook */
163162
process_attributes<Extra...>::postcall(call, result);

0 commit comments

Comments
 (0)