Skip to content

Commit

Permalink
COMP: Use C++11 override directly.
Browse files Browse the repository at this point in the history
Use C++11 override directly.
  • Loading branch information
jhlegarreta committed Mar 17, 2019
1 parent 4f4f187 commit 556491e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions include/itkMetamorphosisImageRegistrationMethodv4.h
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ public TimeVaryingVelocityFieldImageRegistrationMethodv4<TFixedImage, TMovingIma
FieldPointer GetMetricDerivative(FieldPointer field, bool useImageGradients);
void UpdateControls();
void StartOptimization();
void GenerateData();
void PrintSelf(std::ostream& os, Indent indent) const;
void GenerateData() override;
void PrintSelf(std::ostream& os, Indent indent) const override;

private:
MetamorphosisImageRegistrationMethodv4(const Self&); // Intentionally not implemened
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ class TimeVaryingVelocityFieldSemiLagrangianIntegrationImageFilter :
TimeVaryingVelocityFieldSemiLagrangianIntegrationImageFilter();
~TimeVaryingVelocityFieldSemiLagrangianIntegrationImageFilter();

void PrintSelf( std::ostream & os, Indent indent ) const ITK_OVERRIDE;
virtual void BeforeThreadedGenerateData() ITK_OVERRIDE;
virtual void ThreadedGenerateData( const OutputRegionType &, ThreadIdType ) ITK_OVERRIDE;
void PrintSelf( std::ostream & os, Indent indent ) const override;
virtual void BeforeThreadedGenerateData() override;
virtual void ThreadedGenerateData( const OutputRegionType &, ThreadIdType ) override;
VectorType IntegrateVelocityAtPoint( const PointType &initialSpatialPoint, const TimeVaryingVelocityFieldType * inputField );

DisplacementFieldExtrapolatorPointer m_DisplacementFieldExtrapolator;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class TimeVaryingVelocityFieldSemiLagrangianTransform :

/** Trigger the computation of the displacement field by integrating
* the time-varying velocity field. */
virtual void IntegrateVelocityField() ITK_OVERRIDE;
virtual void IntegrateVelocityField() override;
itkBooleanMacro(UseInverse);
itkSetMacro(UseInverse, bool);
itkGetConstMacro(UseInverse, bool);
Expand Down
4 changes: 2 additions & 2 deletions include/itkWrapExtrapolateImageFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class WrapExtrapolateImageFunction:
* specified position.
*/
virtual OutputType EvaluateAtIndex(
const IndexType & index) const ITK_OVERRIDE
const IndexType & index) const override
{
IndexType nindex;

Expand All @@ -156,7 +156,7 @@ class WrapExtrapolateImageFunction:
WrapExtrapolateImageFunction()
{ m_Interpolator = dynamic_cast<InterpolatorType*>(LinearInterpolatorType::New().GetPointer()); }
~WrapExtrapolateImageFunction(){}
void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE
void PrintSelf(std::ostream & os, Indent indent) const override
{
Superclass::PrintSelf(os, indent);
os << indent << "Interpolator: " << this->m_Interpolator << std::endl;
Expand Down

0 comments on commit 556491e

Please sign in to comment.