From 049a36f122dfa9b04a3445f8827066fe9fc0c44d Mon Sep 17 00:00:00 2001 From: Jeremy Nimmer Date: Fri, 3 Jan 2025 07:44:02 -0800 Subject: [PATCH] fixup! Signed-off-by: Jeremy Nimmer --- python/src/sdf/pyRoot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/sdf/pyRoot.cc b/python/src/sdf/pyRoot.cc index 672fad7c3..d7ca58044 100644 --- a/python/src/sdf/pyRoot.cc +++ b/python/src/sdf/pyRoot.cc @@ -83,7 +83,7 @@ void defineRoot(pybind11::object module) "Get a world based on an index.") .def("world_name_exists", &sdf::Root::WorldNameExists, "Get whether a world name exists.") - .def("model", pybind11::overload_cast(&sdf::Root::Model), + .def("model", pybind11::overload_cast<>(&sdf::Root::Model), pybind11::return_value_policy::reference_internal, "Get a model object if it exists.") .def("set_model", &sdf::Root::SetModel,