Skip to content

Commit

Permalink
COMP: Fix compile error due to missing itk:: prefix for MakeFilled
Browse files Browse the repository at this point in the history
Sample error message:

T:\Dashboard\ITK\Modules\Nonunit\Review\test\itkImageFunctionTest.cxx(137,17): error C2065: 'MakeFilled': undeclared identifier [T:\Dashboard\ITK-build\Modules\Nonunit\Review\test\ITKReviewTestDriver.vcxproj]
  • Loading branch information
dzenanz committed Dec 12, 2024
1 parent 4cbe24c commit b8d7e06
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Modules/Nonunit/Review/test/itkImageFunctionTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,6 @@ itkImageFunctionTest(int, char *[])

image->SetRegions(region);
image->Allocate();

auto origin = MakeFilled<ImageType::PointType>(0.0);
auto spacing = MakeFilled<ImageType::SpacingType>(1.0);

image->SetOrigin(origin);
image->SetSpacing(spacing);

image->Print(std::cout);

auto function = FunctionType::New();
Expand Down

0 comments on commit b8d7e06

Please sign in to comment.