Skip to content

Commit

Permalink
COMP: Fix HyperSphereImageSource class name in type macro (was Image)
Browse files Browse the repository at this point in the history
Addresses:

M:\Dashboard\ITK\Modules\Remote\Montage\test\itkMontagePCMTestSynthetic.cxx(42,3): error C3203: 'Image': unspecialized class template can't be used as a template argument for template parameter '<unnamed-symbol>', expected a real type [M:\Dashboard\ITK-build\Modules\Remote\Montage\test\MontageTestDriver.vcxproj]

  M:\Dashboard\ITK\Modules\Remote\Montage\test\itkMontagePCMTestSynthetic.cxx(42,3):
  the template instantiation context (the oldest one first) is
  	M:\Dashboard\ITK\Modules\Remote\Montage\test\itkMontagePCMTestSynthetic.cxx(363,12):
  	see reference to function template instantiation 'int PhaseCorrelationRegistration<3,double,double>(int,char *[])' being compiled
  	M:\Dashboard\ITK\Modules\Remote\Montage\test\itkMontagePCMTestSynthetic.cxx(152,1):
  	see reference to class template instantiation 'itk::HyperSphereImageSource<double,3>' being compiled
  	M:\Dashboard\ITK\Modules\Remote\Montage\test\itkMontagePCMTestSynthetic.cxx(42,3):
  	while compiling class template member function 'const char *itk::HyperSphereImageSource<double,3>::GetNameOfClass(void) const'
  • Loading branch information
dzenanz committed Jan 8, 2024
1 parent b91741f commit 0825e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/itkMontagePCMTestSynthetic.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class HyperSphereImageSource : public itk::Object
itkNewMacro(Self);

/** Run-time type information (and related methods). */
itkTypeMacro(Image, Object);
itkTypeMacro(HyperSphereImageSource, Object);

using ImageType = itk::Image<TPixel, VDimension>;

Expand Down

0 comments on commit 0825e46

Please sign in to comment.