Skip to content

Commit d2ba475

Browse files
authored
include sofa/core/fwd.h instead of the forward declaration (#575)
1 parent c209f3a commit d2ba475

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_BaseObject.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,10 @@
2121
#pragma once
2222

2323
#include <pybind11/pybind11.h>
24+
#include <sofa/core/fwd.h>
2425

25-
namespace sofa::core::objectmodel {
26-
class BaseObject;
27-
}
28-
29-
namespace sofapython3 {
26+
namespace sofapython3
27+
{
3028

3129
pybind11::object getItem(const sofa::core::objectmodel::BaseObject & self, const std::string& path);
3230

0 commit comments

Comments
 (0)