diff --git a/src/BeamAdapter/component/constraint/AdaptiveBeamSlidingConstraint.cpp b/src/BeamAdapter/component/constraint/AdaptiveBeamSlidingConstraint.cpp index 9dfb476b..be4d9c8a 100644 --- a/src/BeamAdapter/component/constraint/AdaptiveBeamSlidingConstraint.cpp +++ b/src/BeamAdapter/component/constraint/AdaptiveBeamSlidingConstraint.cpp @@ -99,31 +99,3 @@ template class SOFA_BEAMADAPTER_API AdaptiveBeamSlidingConstraint; /////////////////////////////////////////////////////////////////////////////////////////////////// } // namespace sofa::component::constraintset::_adaptiveBeamSlidingConstraint_ - - -///////////////////////////////// DEPRECATION MANAGEMENT FOR BACKWARD COMPATIBILITY /////////////////// -class AdaptiveBeamConstraint : public DeprecatedComponent -{ -public: - /// Pre-construction check method called by ObjectFactory. - template - static bool canCreate(T* obj, BaseContext* context, BaseObjectDescription* arg) - { - SOFA_UNUSED(obj) ; - SOFA_UNUSED(context) ; - SOFA_UNUSED(arg) ; - - msg_warning("AdaptiveBeamConstraint") << "AdaptiveBeamConstraint is a BeamAdapter v1.0 feature that has been replaced " - "by AdaptiveBeamSlidingConstraint. \n " - "To remove this error message you either need to: \n " - " - replace AdaptiveBeamConstraint with AdaptiveBeamSlidingConstraint\n " - " - or use the BeamAdapter plugin v1.0 \n "; - return false; - } -} ; - -// Registering the component -// see: http://wiki.sofa-framework.org/wiki/ObjectFactory -static int AdaptiveBeamConstraintClass = RegisterObject("AdaptiveBeamConstraint is now a deprecated and should be replaced with AdaptiveBeamSlidingConstraint") -.add< AdaptiveBeamConstraint >() -;