Skip to content

Commit

Permalink
COMP: Fix C2065 (VS2022): 'FindCenterOfBrain': undeclared identifier
Browse files Browse the repository at this point in the history
105>------ Build started: Project: BRAINSCommonLib, Configuration: RelWithDebInfo x64 ------
105>BRAINSFitHelper.cxx
105>M:\a\Srwd\BRAINSTools\BRAINSCommonLib\itkFindCenterOfBrainFilter.h(40,3): error C2065: 'FindCenterOfBrain': undeclared identifier
105>M:\a\Srwd\BRAINSTools\BRAINSCommonLib\itkFindCenterOfBrainFilter.h(40,3): error C2923: 'std::is_same_v': 'FindCenterOfBrain' is not a valid template type argument for parameter '<unnamed-symbol>'
105>M:\a\Srwd\BRAINSTools\BRAINSCommonLib\itkFindCenterOfBrainFilter.h(40,3): error C2062: type 'unknown-type' unexpected
105>Done building project "BRAINSCommonLib.vcxproj" -- FAILED.
  • Loading branch information
dzenanz authored and hjmjohnson committed May 31, 2024
1 parent 64bb590 commit d88a4f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BRAINSCommonLib/itkFindCenterOfBrainFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class FindCenterOfBrainFilter : public ImageToImageFilter<TInputImage, TInputIma
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(FindCenterOfBrain, Superclass);
itkTypeMacro(FindCenterOfBrainFilter, Superclass);

using ImageType = TInputImage;
using MaskImageType = TMaskImage;
Expand Down

0 comments on commit d88a4f4

Please sign in to comment.