diff --git a/Modules/Numerics/Statistics/include/itkSubsample.h b/Modules/Numerics/Statistics/include/itkSubsample.h index 9f3ad887a37..2ac3920c79c 100644 --- a/Modules/Numerics/Statistics/include/itkSubsample.h +++ b/Modules/Numerics/Statistics/include/itkSubsample.h @@ -75,15 +75,6 @@ class ITK_TEMPLATE_EXPORT Subsample : public TSample * object */ using InstanceIdentifierHolder = std::vector; -// Disable clang warning false positive. -// -#if defined(__clang__) && defined(__has_warning) -# if __has_warning("-Winconsistent-missing-override") -# pragma clang diagnostic push -# pragma clang diagnostic ignored "-Winconsistent-missing-override" -# endif -#endif - /** Get the Id Holder */ const InstanceIdentifierHolder & GetIdHolder() const @@ -91,12 +82,6 @@ class ITK_TEMPLATE_EXPORT Subsample : public TSample return this->m_IdHolder; } -#if defined(__clang__) && defined(__has_warning) -# if __has_warning("-Winconsistent-missing-override") -# pragma clang diagnostic pop -# endif -#endif - /** Plug in the actual sample data */ void SetSample(const TSample * sample);