Skip to content

Commit

Permalink
Use final for virtual methods on private impl of mbgl::View
Browse files Browse the repository at this point in the history
This is a private implementation, so we know that no one else will
inherit from that.
  • Loading branch information
brunoabinader committed Jun 3, 2015
1 parent 6fb8c19 commit 9dbc349
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/qmapboxgl_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ class QMapboxGLPrivate : public mbgl::View
virtual ~QMapboxGLPrivate();

// mbgl::View implementation.
void activate() override {}
void deactivate() override;
void notify() override {}
void invalidate(std::function<void()> renderCallback) override;
void activate() final {}
void deactivate() final;
void notify() final {}
void invalidate(std::function<void()> renderCallback) final;

mbgl::DefaultFileSource fileSource;
mbgl::Map map;
Expand Down

0 comments on commit 9dbc349

Please sign in to comment.