From d88a4f43e7d6c7447876d20676b538185f5edea1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C5=BEenan=20Zuki=C4=87?= Date: Fri, 31 May 2024 08:15:55 -0400 Subject: [PATCH] COMP: Fix C2065 (VS2022): 'FindCenterOfBrain': undeclared identifier 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 '' 105>M:\a\Srwd\BRAINSTools\BRAINSCommonLib\itkFindCenterOfBrainFilter.h(40,3): error C2062: type 'unknown-type' unexpected 105>Done building project "BRAINSCommonLib.vcxproj" -- FAILED. --- BRAINSCommonLib/itkFindCenterOfBrainFilter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BRAINSCommonLib/itkFindCenterOfBrainFilter.h b/BRAINSCommonLib/itkFindCenterOfBrainFilter.h index 4da010a799..c352a4a4a9 100644 --- a/BRAINSCommonLib/itkFindCenterOfBrainFilter.h +++ b/BRAINSCommonLib/itkFindCenterOfBrainFilter.h @@ -37,7 +37,7 @@ class FindCenterOfBrainFilter : public ImageToImageFilter; using ConstPointer = SmartPointer; itkNewMacro(Self); - itkTypeMacro(FindCenterOfBrain, Superclass); + itkTypeMacro(FindCenterOfBrainFilter, Superclass); using ImageType = TInputImage; using MaskImageType = TMaskImage;