Skip to content

Commit 8c1bfbe

Browse files
committed
fix compilation on Apple
1 parent 11c15b7 commit 8c1bfbe

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Elasticity/component/ElementCorotationalFEMForceField.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ struct RotationMethods : RotationMethodsContainer<DataTypes, ElementType,
3636
>
3737
{
3838
using Inherit = RotationMethodsContainer<DataTypes, ElementType, StablePolarDecomposition<DataTypes>, PolarDecomposition<DataTypes>, IdentityRotation>;
39-
using Inherit::RotationMethodsContainer;
39+
explicit RotationMethods(sofa::core::objectmodel::BaseObject* parent) : Inherit(parent)
40+
{}
4041
};
4142

4243
template <class Real>

0 commit comments

Comments
 (0)