Skip to content

Commit

Permalink
COMP: Added ITK_DEPRECATED when \deprecated there
Browse files Browse the repository at this point in the history
This is used for struct,classes and functions.
  • Loading branch information
andrei-sandor committed May 29, 2024
1 parent 2132909 commit db1a2bd
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 8 deletions.
2 changes: 0 additions & 2 deletions Modules/Core/Common/include/itkImage.h
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,6 @@ class ITK_TEMPLATE_EXPORT Image : public ImageBase<VImageDimension>
/**
* example usage:
* using OutputImageType = typename ImageType::template Rebind< float >::Type;
*
* \deprecated Use RebindImageType instead
*/
template <typename UPixelType, unsigned int VUImageDimension = VImageDimension>
struct Rebind
Expand Down
1 change: 1 addition & 0 deletions Modules/Core/Common/include/itkVector.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ class ITK_TEMPLATE_EXPORT Vector : public FixedArray<T, VVectorDimension>
* \warning Not intended to convert a scalar value into
* a Vector filled with that value.
* \deprecated */
ITK_DEPRECATED
Vector(const ValueType & r);
#else
/** Constructor to initialize entire vector to one value,
Expand Down
1 change: 0 additions & 1 deletion Modules/Core/Common/include/itkVectorImage.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ class ITK_TEMPLATE_EXPORT VectorImage : public ImageBase<VImageDimension>
\endcode
*
* \sa Image::Rebind
* \deprecated Use template alias RebindImageType instead
*/
template <typename UPixelType, unsigned int VUImageDimension = VImageDimension>
struct Rebind
Expand Down
2 changes: 0 additions & 2 deletions Modules/Core/ImageAdaptors/include/itkImageAdaptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ class ITK_TEMPLATE_EXPORT ImageAdaptor : public ImageBase<TImage::ImageDimension
/**
* example usage:
* using OutputImageType = typename ImageAdaptorType::template Rebind< float >::Type;
*
* \deprecated Use RebindImageType instead
*/
template <typename UPixelType, unsigned int UImageDimension = TImage::ImageDimension>
struct Rebind
Expand Down
2 changes: 0 additions & 2 deletions Modules/Core/Transform/include/itkMatrixOffsetTransformBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,6 @@ class ITK_TEMPLATE_EXPORT MatrixOffsetTransformBase
}

protected:
/** \deprecated Use GetInverse for public API instead.
* Method will eventually be made a protected member function */
const InverseMatrixType &
GetInverseMatrix() const;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace Functor
*/

template <typename TInput, typename TOutput>
class ITK_TEMPLATE_EXPORT Cast
class ITK_DEPRECATED ITK_TEMPLATE_EXPORT Cast
{
public:
Cast() = default;
Expand Down

0 comments on commit db1a2bd

Please sign in to comment.