Skip to content

Commit

Permalink
adding final keyword to inlining
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-tierny committed Sep 28, 2023
1 parent 88c9078 commit c45ae45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/base/implicitTriangulation/ImplicitTriangulation.h
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ namespace ttk {

public:
inline SimplexId TTK_TRIANGULATION_INTERNAL(getVertexNeighborNumber)(
const SimplexId &vertexId) const override {
const SimplexId &vertexId) const final {

#ifndef TTK_ENABLE_KAMIKAZE
if(vertexId < 0 or vertexId >= vertexNumber_)
Expand Down Expand Up @@ -921,7 +921,7 @@ namespace ttk {
inline int TTK_TRIANGULATION_INTERNAL(getVertexNeighbor)(
const SimplexId &vertexId,
const int &localNeighborId,
SimplexId &neighborId) const override {
SimplexId &neighborId) const final {

#ifndef TTK_ENABLE_KAMIKAZE
if(localNeighborId < 0
Expand Down

0 comments on commit c45ae45

Please sign in to comment.