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 de23b75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/Nonunit/Review/test/itkImageFunctionTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ itkImageFunctionTest(int, char *[])
image->SetRegions(region);
image->Allocate();

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

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

0 comments on commit de23b75

Please sign in to comment.