Skip to content

Commit

Permalink
Merge pull request #4832 from blowekamp/label_geometry_silent
Browse files Browse the repository at this point in the history
BUG: Silence LabelGeometry deprecation
  • Loading branch information
blowekamp authored Sep 5, 2024
2 parents 64da5a3 + 7ad23a8 commit fb61d2c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Modules/Nonunit/Review/include/itkLabelGeometryImageFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,11 @@ namespace itk
* \endsphinx
*/
template <typename TLabelImage, typename TIntensityImage = TLabelImage>
class ITK_TEMPLATE_EXPORT [[deprecated(
"This class contains known computational bugs. See class documentation for details.")]] LabelGeometryImageFilter
: public ImageToImageFilter<TLabelImage, TIntensityImage>
class ITK_TEMPLATE_EXPORT
#if !defined(ITK_LEGACY_SILENT)
[[deprecated("This class contains known computational bugs. See class documentation for details.")]]
#endif
LabelGeometryImageFilter : public ImageToImageFilter<TLabelImage, TIntensityImage>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(LabelGeometryImageFilter);
Expand Down

0 comments on commit fb61d2c

Please sign in to comment.