From 4d75001e9af268cca015a46cc0465e39dd4eb971 Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Sun, 12 Jun 2016 14:15:16 +0300 Subject: [tidy] Check modernize-use-override Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-override.html --- include/mbgl/platform/default/glfw_view.hpp | 2 +- include/mbgl/platform/default/headless_view.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/mbgl/platform/default/glfw_view.hpp b/include/mbgl/platform/default/glfw_view.hpp index b1204ce96d..83d00a24dd 100644 --- a/include/mbgl/platform/default/glfw_view.hpp +++ b/include/mbgl/platform/default/glfw_view.hpp @@ -14,7 +14,7 @@ class GLFWView : public mbgl::View { public: GLFWView(bool fullscreen = false, bool benchmark = false); - ~GLFWView(); + ~GLFWView() override; float getPixelRatio() const override; std::array getSize() const override; diff --git a/include/mbgl/platform/default/headless_view.hpp b/include/mbgl/platform/default/headless_view.hpp index d787eb1691..b2d0a6e5ac 100644 --- a/include/mbgl/platform/default/headless_view.hpp +++ b/include/mbgl/platform/default/headless_view.hpp @@ -31,7 +31,7 @@ class HeadlessView : public View { public: HeadlessView(float pixelRatio, uint16_t width = 256, uint16_t height = 256); HeadlessView(std::shared_ptr display, float pixelRatio, uint16_t width = 256, uint16_t height = 256); - ~HeadlessView(); + ~HeadlessView() override; float getPixelRatio() const override; std::array getSize() const override; -- cgit v1.2.1