sofa-framework / sofa

Real-time multi-physics simulation with an emphasis on medical simulation.
https://www.sofa-framework.org
GNU Lesser General Public License v2.1
934 stars 312 forks source link

[Mapping.Linear] Use links instead of raw pointers #4996

Closed alxbilger closed 2 months ago

alxbilger commented 2 months ago

By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

hugtalbot commented 2 months ago

Compilation error on CI, e.g. :

/Users/ci/Jenkins/workspace/sofa-framework/PR-4996/macos_clang_options_release/src/Sofa/Component/Mapping/Linear/src/sofa/component/mapping/linear/Mesh2PointMechanicalMapping.inl:53:54: error: use 'template' keyword to treat 'get' as a dependent template name
        l_topologicalMapping.set(this->getContext()->get<Mesh2PointTopologicalMapping>());
epernod commented 2 months ago

[ci-build][with-all-tests]