Skip to content

Commit

Permalink
COMP: follow rename of ImageIOFactory FileModeType into FileModeEnum
Browse files Browse the repository at this point in the history
  • Loading branch information
dzenanz committed Dec 11, 2019
1 parent f356b10 commit a06e470
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/itkMorphologicalContourInterpolationTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ int itkMorphologicalContourInterpolationTest( int argc, char* argv[] )

using ScalarPixelType = itk::ImageIOBase::IOComponentType;
itk::ImageIOBase::Pointer imageIO = itk::ImageIOFactory::CreateImageIO(
inputImageFileName, itk::ImageIOFactory::FileModeType::ReadMode);
inputImageFileName, itk::ImageIOFactory::FileModeEnum::ReadMode);
if (!imageIO)
{
std::cerr << "Could not CreateImageIO for: " << inputImageFileName << std::endl;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ int itkMorphologicalContourInterpolationTestWithRLEImage( int argc, char* argv[]

using ScalarPixelType = itk::ImageIOBase::IOComponentType;
itk::ImageIOBase::Pointer imageIO = itk::ImageIOFactory::CreateImageIO(
inputImageFileName, itk::ImageIOFactory::FileModeType::ReadMode);
inputImageFileName, itk::ImageIOFactory::FileModeEnum::ReadMode);
if (!imageIO)
{
std::cerr << "Could not CreateImageIO for: " << inputImageFileName << std::endl;
Expand Down

0 comments on commit a06e470

Please sign in to comment.