Skip to content

Commit 4169ee5

Browse files
authored
Merge pull request InsightSoftwareConsortium#5908 from hjmjohnson/clang-tidy-rules-testing
STYLE: Remove redundant virtual statements for C++11
2 parents 787f1ab + 9ee0b6b commit 4169ee5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Modules/Segmentation/LevelSetsv4/include/itkLevelSetQuadEdgeMesh.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,23 +64,23 @@ class ITK_TEMPLATE_EXPORT LevelSetQuadEdgeMesh
6464
itkGetModifiableObjectMacro(Mesh, MeshType);
6565

6666
/** Returns the value of the level set function at a given location iP */
67-
virtual OutputType
67+
OutputType
6868
Evaluate(const InputType & iP) const override;
6969

7070
/** Returns the image gradient of the level set function at a given location iP
7171
* \todo to be implemented */
72-
virtual GradientType
72+
GradientType
7373
EvaluateGradient(const InputType & iP) const override;
7474

7575
/** Returns the image hessian of the level set function at a given location iP
7676
* \todo to be implemented */
77-
virtual HessianType
77+
HessianType
7878
EvaluateHessian(const InputType & iP) const override;
7979

8080

8181
/** Returns the value of the level set function at a given location iP
8282
* as part of the LevelSetDataType*/
83-
virtual void
83+
void
8484
Evaluate(const InputType & iP, LevelSetDataType & ioData) const override;
8585

8686
/** Returns the gradient of the level set function at a given location iP
@@ -92,15 +92,15 @@ class ITK_TEMPLATE_EXPORT LevelSetQuadEdgeMesh
9292
/** Returns the Hessian of the level set function at a given location iP
9393
* as part of the LevelSetDataType
9494
* \todo to be implemented */
95-
virtual void
95+
void
9696
EvaluateHessian(const InputType & iP, LevelSetDataType & ioData) const override;
9797

9898
/** Initial the level set pointer */
9999
virtual void
100100
Initialize();
101101

102102
/** Copy level set information from data object */
103-
virtual void
103+
void
104104
CopyInformation(const DataObject * data) override;
105105

106106
/** Graft data object as level set object */
@@ -109,7 +109,7 @@ class ITK_TEMPLATE_EXPORT LevelSetQuadEdgeMesh
109109

110110
protected:
111111
LevelSetQuadEdgeMesh() = default;
112-
virtual ~LevelSetQuadEdgeMesh() override = default;
112+
~LevelSetQuadEdgeMesh() override = default;
113113

114114
private:
115115
MeshPointer m_Mesh{};

0 commit comments

Comments
 (0)