diff --git a/include/pybind11/pybind11.h b/include/pybind11/pybind11.h index cc3727756..33015aaab 100644 --- a/include/pybind11/pybind11.h +++ b/include/pybind11/pybind11.h @@ -67,7 +67,7 @@ public: /* Do the call and convert the return value back into the Python domain */ handle result = cast_out::cast( - args.template call(detail::cast_any_ptr(rec->data)), + args.template call(detail::cast_any_ptr(rec->data)), rec->policy, parent); /* Invoke call policy post-call hook */