Skip to content

Commit

Permalink
COMP: Fix the compilation of the new FFTHilbertImageFilter
Browse files Browse the repository at this point in the history
PR #371 has been merged without properly checking that the code had
been updated to ITK's latest changes. The following patches have been
applied:
eb90fb4 STYLE: Replace itkTypeMacro calls with `itkOverrideGetNameOfClassMacro`
86d1e83 ENH: Bump ITK and change http to https
8ac7f0b STYLE: Call ITK_DISALLOW_COPY_AND_MOVE, not ITK_DISALLOW_COPY_AND_ASSIGN
  • Loading branch information
Simon Rit authored and SimonRit committed Oct 25, 2024
1 parent 1d7da6e commit 3a930a5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions include/rtkFFTHilbertImageFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
* https://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down Expand Up @@ -42,7 +42,7 @@ class ITK_EXPORT FFTHilbertImageFilter
: public rtk::FFTProjectionsConvolutionImageFilter<TInputImage, TOutputImage, TFFTPrecision>
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(FFTHilbertImageFilter);
ITK_DISALLOW_COPY_AND_MOVE(FFTHilbertImageFilter);

/** Standard class type alias. */
using Self = FFTHilbertImageFilter;
Expand Down Expand Up @@ -83,7 +83,11 @@ class ITK_EXPORT FFTHilbertImageFilter
}

/** Runtime information support. */
#ifdef itkOverrideGetNameOfClassMacro
itkOverrideGetNameOfClassMacro(FFTHilbertImageFilter);
#else
itkTypeMacro(FFTHilbertImageFilter, FFTProjectionsConvolutionImageFilter);
#endif

protected:
FFTHilbertImageFilter() = default;
Expand Down

0 comments on commit 3a930a5

Please sign in to comment.