Skip to content

Commit

Permalink
BUG: Provide missing template parameter to superclass
Browse files Browse the repository at this point in the history
Provide missing template parameter to superclass.

Fixes:
```
/Modules/Nonunit/Review/test/itkMultiphaseDenseFiniteDifferenceImageFilterTest.cxx:
In instantiation of
'class itk::MultiphaseDenseFiniteDifferenceImageFilterTestHelper<
  itk::Image<double, 3>, itk::Image<float, 3>, itk::Image<unsigned char, 3>,
  itk::ScalarChanAndVeseLevelSetFunction<
    itk::Image<double, 3>, itk::Image<float, 3>,
    itk::ConstrainedRegionBasedLevelSetFunctionSharedData<
      itk::Image<double, 3>, itk::Image<float, 3>,
      itk::ScalarChanAndVeseLevelSetFunctionData<itk::Image<double, 3>, itk::Image<float, 3> > > >,
  long unsigned int>':
/Modules/Nonunit/Review/test/itkMultiphaseDenseFiniteDifferenceImageFilterTest.cxx:103:13:
required from here
/Modules/Nonunit/Review/test/itkMultiphaseDenseFiniteDifferenceImageFilterTest.cxx:54:30:
error: type
'itk::MultiphaseDenseFiniteDifferenceImageFilterTestHelper<
  itk::Image<double, 3>, itk::Image<float, 3>, itk::Image<unsigned char, 3>,
  itk::ScalarChanAndVeseLevelSetFunction<
    itk::Image<double, 3>, itk::Image<float, 3>,
    itk::ConstrainedRegionBasedLevelSetFunctionSharedData<
    itk::Image<double, 3>, itk::Image<float, 3>,
    itk::ScalarChanAndVeseLevelSetFunctionData<itk::Image<double, 3>, itk::Image<float, 3> > > >,
  long unsigned int>::Superclass'
{aka 'itk::MultiphaseDenseFiniteDifferenceImageFilter<
  itk::Image<double, 3>, itk::Image<float, 3>, itk::Image<unsigned char, 3>,
  itk::ScalarChanAndVeseLevelSetFunction<
    itk::Image<double, 3>, itk::Image<float, 3>,
    itk::ConstrainedRegionBasedLevelSetFunctionSharedData<
      itk::Image<double, 3>, itk::Image<float, 3>,
      itk::ScalarChanAndVeseLevelSetFunctionData<itk::Image<double, 3>, itk::Image<float, 3> > > >,
  unsigned int>'}
is not a base type for type
'itk::MultiphaseDenseFiniteDifferenceImageFilterTestHelper<
  itk::Image<double, 3>, itk::Image<float, 3>, itk::Image<unsigned char, 3>,
  itk::ScalarChanAndVeseLevelSetFunction<
    itk::Image<double, 3>, itk::Image<float, 3>,
    itk::ConstrainedRegionBasedLevelSetFunctionSharedData<
      itk::Image<double, 3>, itk::Image<float, 3>,
      itk::ScalarChanAndVeseLevelSetFunctionData<itk::Image<double, 3>, itk::Image<float, 3> > > >,
long unsigned int>'
   54 |   using typename Superclass::TimeStepType;
      |                              ^~~~~~~~~~~~
```

reported for example at:
https://open.cdash.org/viewBuildError.php?onlydeltap&buildid=7470734
  • Loading branch information
jhlegarreta authored and dzenanz committed Sep 23, 2021
1 parent c7641fc commit 280c43e
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ class MultiphaseDenseFiniteDifferenceImageFilterTestHelper
public:
/** Standard class type aliases. */
using Self = MultiphaseDenseFiniteDifferenceImageFilterTestHelper;
using Superclass =
MultiphaseDenseFiniteDifferenceImageFilter<TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction>;
using Superclass = MultiphaseDenseFiniteDifferenceImageFilter<TInputImage,
TFeatureImage,
TOutputImage,
TFiniteDifferenceFunction,
TIdCell>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;

Expand Down

0 comments on commit 280c43e

Please sign in to comment.