diff --git a/bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_BaseObject.h b/bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_BaseObject.h index b85eed1f..3908e604 100644 --- a/bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_BaseObject.h +++ b/bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_BaseObject.h @@ -21,12 +21,10 @@ #pragma once #include +#include -namespace sofa::core::objectmodel { -class BaseObject; -} - -namespace sofapython3 { +namespace sofapython3 +{ pybind11::object getItem(const sofa::core::objectmodel::BaseObject & self, const std::string& path);