Skip to content

Commit 0e18baa

Browse files
committed
COMP: Update legacy boolean ivar set method call to current API
Update legacy boolean ivar set method call to current API: the `itk::VectorGradientMagnitudeImageFilter::m_UseImageSpacing` ivar got the boolean macro methods in commit c6610df, and the former methods were marked as legacy code. Fixes: ``` /Users/builder/externalExamples/IO/VisibleHumanPasteWrite.cxx:72:9: error: no member named 'SetUseImageSpacingOn' in 'itk::VectorGradientMagnitudeImageFilter<itk::Image<itk::RGBPixel<unsigned char>, 2>, float, itk::Image<float, 2> >' grad->SetUseImageSpacingOn(); ~~~~ ^ 1 error generated. ``` Raised for example at: https://open.cdash.org/viewBuildError.php?buildid=6964751
1 parent 7f36e8e commit 0e18baa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/IO/VisibleHumanPasteWrite.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ main(int argc, char * argv[])
6969
GradientMagnitudeImageFilter::New();
7070
grad->SetInput(reader->GetOutput());
7171

72-
grad->SetUseImageSpacingOn();
72+
grad->UseImageSpacingOn();
7373

7474
using GradientMagnitudeOutputImageType =
7575
GradientMagnitudeImageFilter::OutputImageType;

0 commit comments

Comments
 (0)