Skip to content

Commit 9c9cbb7

Browse files
kian-weimerdzenanz
authored andcommitted
COMP: Removed redundant type alias.
This resolves the following compiler warning: /localscratch/Users/kjweimer/ITK/Modules/Remote/HASI/include/itkSegmentBonesInMicroCTFilter.hxx:198:87: warning: declaration of ‘using FloatThresholdType = class itk::BinaryThresholdImageFilter<itk::Image<float, itk::SegmentBonesInMicroCTFilter<TInputImage, TOutputImage>::Dimension>, TOutputImage>’ shadows a member of ‘itk::SegmentBonesInMicroCTFilter<TInputImage, TOutputImage>’ [-Wshadow] 198 | using FloatThresholdType = BinaryThresholdImageFilter<RealImageType, TOutputImage>; | ^ In file included from /localscratch/Users/kjweimer/ITK/Modules/Remote/HASI/test/itkSegmentBonesInMicroCTFilterTest.cxx:19: /localscratch/Users/kjweimer/ITK/Modules/Remote/HASI/include/itkSegmentBonesInMicroCTFilter.h:89:9: note: shadowed declaration is here 89 | using FloatThresholdType = BinaryThresholdImageFilter<RealImageType, TOutputImage>; | ^~~~~~~~~~~~~~~~~~
1 parent 3de4a2f commit 9c9cbb7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/itkSegmentBonesInMicroCTFilter.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ SegmentBonesInMicroCTFilter<TInputImage, TOutputImage>::GenerateData()
195195
progress->RegisterInternalFilter(multiScaleFilter, 0.5f);
196196
multiScaleFilter->Update();
197197

198-
using FloatThresholdType = BinaryThresholdImageFilter<RealImageType, TOutputImage>;
199198
typename FloatThresholdType::Pointer descoTh = FloatThresholdType::New();
200199
descoTh->SetInput(multiScaleFilter->GetOutput());
201200
descoTh->SetLowerThreshold(0.1);

0 commit comments

Comments
 (0)