Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Sofa/framework/Core/src/sofa/core/objectmodel/BaseClass.h
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ class SOFA_CORE_API DeprecatedBaseClass : public BaseClass

// Do not use this macro directly, use SOFA_ABSTRACT_CLASS instead
#define SOFA_ABSTRACT_CLASS_DECL \
using BaseObject SOFA_ATTRIBUTE_DEPRECATED("v26.06", "v29.06", "BaseObject has been renamed to BaseComponent") = sofa::core::objectmodel::BaseComponent; /*this alias allows the transition from BaseObject to BaseComponent.*/ \
typedef MyType* Ptr; \
friend class sofa::core::objectmodel::BaseClassNameHelper; \
static std::string GetDefaultTemplateName(){ return sofa::core::objectmodel::BaseClassNameHelper::DefaultTypeTemplateName<MyType>::Get(); } \
Expand All @@ -247,8 +248,7 @@ class SOFA_CORE_API DeprecatedBaseClass : public BaseClass
{ \
return ::sofa::core::objectmodel::BaseLink::InitLink<MyType> \
(this, n, help); \
}\
using BaseObject SOFA_ATTRIBUTE_DEPRECATED("v26.06", "v29.06", "BaseObject has been renamed to BaseComponent") = sofa::core::objectmodel::BaseComponent; // this alias allows the transition from BaseObject to BaseComponent.
}

// Do not use this macro directly, use SOFA_CLASS instead
#define SOFA_CLASS_DECL \
Expand Down
Loading