Skip to content

Commit

Permalink
Add override specifier in MonotoneChainPerfTest to avoid GCC warning. (
Browse files Browse the repository at this point in the history
  • Loading branch information
tinko92 authored Oct 27, 2024
1 parent addad48 commit cb0bf5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/index/chain/MonotoneChainPerfTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static void BM_MonotoneChainOverlaps(benchmark::State& state) {

struct EmptyOverlapAction : public MonotoneChainOverlapAction {
virtual void
overlap(const LineSegment& seg1, const LineSegment& seg2) {
overlap(const LineSegment& seg1, const LineSegment& seg2) override {
(void) seg1;
(void) seg2;
}
Expand Down

0 comments on commit cb0bf5a

Please sign in to comment.