From 80618ddd626a331f69c3d837cdb0ca9d17637ab2 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 20 Jul 2023 15:56:01 -0400 Subject: [PATCH] Update include/pybind11/pybind11.h --- include/pybind11/pybind11.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pybind11/pybind11.h b/include/pybind11/pybind11.h index 13ab1dbf2ab..b87fe66b27e 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)) {