diff --git a/include/pybind11/pybind11.h b/include/pybind11/pybind11.h index 13ab1dbf2a..b87fe66b27 100644 --- a/include/pybind11/pybind11.h +++ b/include/pybind11/pybind11.h @@ -265,7 +265,7 @@ class cpp_function : public function { /* Dispatch code which converts function arguments and performs the actual function call */ rec->impl = [](function_call &call) -> handle { - cast_in args_converter{}; + cast_in args_converter; /* Try to cast the function arguments into the C++ domain */ if (!args_converter.load_args(call)) {