File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Modules/Core/Common/include Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ class OctreeEnums
214
214
UNKNOWN_PLANE, // /< The plane is Unknown
215
215
SAGITTAL_PLANE, // /< The plane is Sagittal
216
216
#if !defined(ITK_LEGACY_REMOVE)
217
- SAGITAL_PLANE = SAGITTAL_PLANE, // /< Support misspelling
217
+ SAGITAL_PLANE [[deprecated( " Use SAGITTAL_PLANE instead " )]] = SAGITTAL_PLANE, // /< Support misspelling
218
218
#endif
219
219
CORONAL_PLANE, // /< The plane is Coronal
220
220
TRANSVERSE_PLANE // /< The plane is Transverse
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ class ITKCommon_EXPORT OctreeBase : public Object
51
51
// for backwards compatibility
52
52
static constexpr OctreeEnum UNKNOWN_PLANE = OctreeEnum::UNKNOWN_PLANE;
53
53
static constexpr OctreeEnum SAGITTAL_PLANE = OctreeEnum::SAGITTAL_PLANE;
54
- static constexpr OctreeEnum SAGITAL_PLANE = OctreeEnum::SAGITAL_PLANE ;
54
+ [[deprecated( " Use SAGITTAL_PLANE instead " )]] static constexpr OctreeEnum SAGITAL_PLANE = OctreeEnum::SAGITTAL_PLANE ;
55
55
static constexpr OctreeEnum CORONAL_PLANE = OctreeEnum::CORONAL_PLANE;
56
56
static constexpr OctreeEnum TRANSVERSE_PLANE = OctreeEnum::TRANSVERSE_PLANE;
57
57
#endif
@@ -189,7 +189,7 @@ class ITK_TEMPLATE_EXPORT Octree : public OctreeBase
189
189
#if !defined(ITK_LEGACY_REMOVE)
190
190
static constexpr OctreeEnum UNKNOWN_PLANE = OctreeEnum::UNKNOWN_PLANE;
191
191
static constexpr OctreeEnum SAGITTAL_PLANE = OctreeEnum::SAGITTAL_PLANE;
192
- static constexpr OctreeEnum SAGITAL_PLANE = OctreeEnum::SAGITAL_PLANE ;
192
+ [[deprecated( " Use SAGITTAL_PLANE instead " )]] static constexpr OctreeEnum SAGITAL_PLANE = OctreeEnum::SAGITTAL_PLANE ;
193
193
static constexpr OctreeEnum CORONAL_PLANE = OctreeEnum::CORONAL_PLANE;
194
194
static constexpr OctreeEnum TRANSVERSE_PLANE = OctreeEnum::TRANSVERSE_PLANE;
195
195
#endif
You can’t perform that action at this time.
0 commit comments