Skip to content

Commit 4da1ce8

Browse files
committedDec 15, 2017
Drop redundant virtual keywords on overrides
Run clang-tidy modernize-use-override to remove all the redundant virtual keywords from overridden methods, and add some missing overrides. Another benefit is that this has also added the overrides on destructors, which will cause a build failure if a base class is missing a virtual destructor.
1 parent 39521c7 commit 4da1ce8

File tree

906 files changed

+3573
-2688
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

906 files changed

+3573
-2688
lines changed
 

‎python/analysis/network/qgsgraphdirector.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ using "builder" design patter.
3232
%End
3333
public:
3434

35-
virtual ~QgsGraphDirector();
35+
~QgsGraphDirector();
3636

3737
virtual void makeGraph( QgsGraphBuilderInterface *builder,
3838
const QVector< QgsPointXY > &additionalPoints,

‎python/analysis/network/qgsnetworkdistancestrategy.sip

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ used for finding shortest path between two points.
2222
%End
2323
public:
2424
virtual QVariant cost( double distance, const QgsFeature & ) const;
25+
2526
};
2627

2728
/************************************************************************

0 commit comments

Comments
 (0)
Please sign in to comment.