diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-05-09 10:41:07 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-05-12 18:07:36 +0300 |
commit | 9894e58047f75994075083d2a5e0c4b3207169b0 (patch) | |
tree | c97efe1b2fb25fbab11ad991f64540fbe98cf2bc /src | |
parent | 24137c4812d9114fbcea280baf26e3fbbf57af5e (diff) | |
download | qtlocation-mapboxgl-9894e58047f75994075083d2a5e0c4b3207169b0.tar.gz |
[tidy] modernize-use-override
Diffstat (limited to 'src')
-rw-r--r-- | src/mbgl/renderer/render_source.hpp | 2 | ||||
-rw-r--r-- | src/mbgl/util/offscreen_texture.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/renderer/render_source.hpp b/src/mbgl/renderer/render_source.hpp index d31347579e..e682e4cd1a 100644 --- a/src/mbgl/renderer/render_source.hpp +++ b/src/mbgl/renderer/render_source.hpp @@ -30,7 +30,7 @@ class ClipIDGenerator; class RenderSource : protected TileObserver { public: RenderSource(const style::Source::Impl&); - virtual ~RenderSource() = default; + ~RenderSource() override = default; virtual bool isLoaded() const = 0; diff --git a/src/mbgl/util/offscreen_texture.hpp b/src/mbgl/util/offscreen_texture.hpp index ae96286340..c265700555 100644 --- a/src/mbgl/util/offscreen_texture.hpp +++ b/src/mbgl/util/offscreen_texture.hpp @@ -20,7 +20,7 @@ public: OffscreenTexture(gl::Context&, Size size = { 256, 256 }, OffscreenTextureAttachment type = OffscreenTextureAttachment::None); - ~OffscreenTexture(); + ~OffscreenTexture() override; OffscreenTexture(OffscreenTexture&&); OffscreenTexture& operator=(OffscreenTexture&&); |