diff --git a/Modules/Core/Common/include/itkAnatomicalOrientation.h b/Modules/Core/Common/include/itkAnatomicalOrientation.h index 581d10fa7ab..e9fafe98332 100644 --- a/Modules/Core/Common/include/itkAnatomicalOrientation.h +++ b/Modules/Core/Common/include/itkAnatomicalOrientation.h @@ -418,7 +418,7 @@ class ITKCommon_EXPORT AnatomicalOrientation * * @param legacyOrientation */ -# ifdef ITK_LEGACY_REMOVE +# if defined(ITK_LEGACY_REMOVE) && !defined(ITK_LEGACY_SILENT) [[deprecated("Use the AnatomicalOrientation::FromEnum type instead.")]] # endif AnatomicalOrientation(LegacyOrientationType legacyOrientation); @@ -444,7 +444,7 @@ class ITKCommon_EXPORT AnatomicalOrientation static AnatomicalOrientation CreateFromFromStringEncoding(std::string str); - /** An involution to convert between "to" and "from" single charactor encoding strings. + /** An involution to convert between "to" and "from" single character encoding strings. * * For example the string "RAS" is converted to "LPI" and vice versa. *