Skip to content

Commit 4cc60b7

Browse files
committed
fix gcc 2
1 parent f668446 commit 4cc60b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ShapeMatchingPlugin/ShapeMatchingForceField.inl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void ShapeMatchingForceField<DataTypes>::init()
7070
template<class DataTypes>
7171
void ShapeMatchingForceField<DataTypes>::addForce(const core::MechanicalParams* /* mparams */ /* PARAMS FIRST */, DataVecDeriv& f, const DataVecCoord& x, const DataVecDeriv& /* v */)
7272
{
73-
if (d_componentState.getValue() != sofa::core::objectmodel::ComponentState::Valid)
73+
if (this->d_componentState.getValue() != sofa::core::objectmodel::ComponentState::Valid)
7474
return;
7575

7676
auto f1 = sofa::helper::getWriteOnlyAccessor(f);
@@ -104,7 +104,7 @@ void ShapeMatchingForceField<DataTypes>::addForce(const core::MechanicalParams*
104104
template<class DataTypes>
105105
void ShapeMatchingForceField<DataTypes>::addDForce(const core::MechanicalParams* mparams /* PARAMS FIRST */, DataVecDeriv& df, const DataVecDeriv& dx)
106106
{
107-
if (d_componentState.getValue() != sofa::core::objectmodel::ComponentState::Valid)
107+
if (this->d_componentState.getValue() != sofa::core::objectmodel::ComponentState::Valid)
108108
return;
109109

110110
auto df1 = sofa::helper::getWriteOnlyAccessor(df);

0 commit comments

Comments
 (0)