From 63938bdea9bdc968df68d5187f6b8110af3fbbe7 Mon Sep 17 00:00:00 2001 From: Alex Bilger Date: Wed, 4 Feb 2026 16:35:02 +0100 Subject: [PATCH] include `sofa/core/fwd.h` instead of the forward declaration --- .../Sofa/src/SofaPython3/Sofa/Core/Binding_BaseObject.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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);