summaryrefslogtreecommitdiff
path: root/src/mbgl/gl
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2020-03-27 18:30:35 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2020-04-17 13:36:50 +0300
commit63ef5298cd70ce720a6c1289435b5043517b6f30 (patch)
treed22894e13fd2a22625bf8588bff57e42380d42ad /src/mbgl/gl
parent47b8fc703b90404b56ba51a5013cf2e42674992d (diff)
downloadqtlocation-mapboxgl-63ef5298cd70ce720a6c1289435b5043517b6f30.tar.gz
[core] Fix modernize-use-override errors in header files
As reported by clang-tidy-8.
Diffstat (limited to 'src/mbgl/gl')
-rw-r--r--src/mbgl/gl/index_buffer_resource.hpp2
-rw-r--r--src/mbgl/gl/texture_resource.hpp2
-rw-r--r--src/mbgl/gl/vertex_buffer_resource.hpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/gl/index_buffer_resource.hpp b/src/mbgl/gl/index_buffer_resource.hpp
index 00c66be5b5..4187994a22 100644
--- a/src/mbgl/gl/index_buffer_resource.hpp
+++ b/src/mbgl/gl/index_buffer_resource.hpp
@@ -9,7 +9,7 @@ namespace gl {
class IndexBufferResource : public gfx::IndexBufferResource {
public:
IndexBufferResource(UniqueBuffer&& buffer_, int byteSize_) : buffer(std::move(buffer_)), byteSize(byteSize_) {}
- ~IndexBufferResource();
+ ~IndexBufferResource() override;
UniqueBuffer buffer;
int byteSize;
diff --git a/src/mbgl/gl/texture_resource.hpp b/src/mbgl/gl/texture_resource.hpp
index 494e5ae8a3..fd4f69084f 100644
--- a/src/mbgl/gl/texture_resource.hpp
+++ b/src/mbgl/gl/texture_resource.hpp
@@ -9,7 +9,7 @@ namespace gl {
class TextureResource : public gfx::TextureResource {
public:
TextureResource(UniqueTexture&& texture_, int byteSize_) : texture(std::move(texture_)), byteSize(byteSize_) {}
- ~TextureResource();
+ ~TextureResource() override;
static int getStorageSize(const Size& size, gfx::TexturePixelType format, gfx::TextureChannelDataType type);
diff --git a/src/mbgl/gl/vertex_buffer_resource.hpp b/src/mbgl/gl/vertex_buffer_resource.hpp
index f9c599c757..cbd73482a3 100644
--- a/src/mbgl/gl/vertex_buffer_resource.hpp
+++ b/src/mbgl/gl/vertex_buffer_resource.hpp
@@ -9,7 +9,7 @@ namespace gl {
class VertexBufferResource : public gfx::VertexBufferResource {
public:
VertexBufferResource(UniqueBuffer&& buffer_, int byteSize_) : buffer(std::move(buffer_)), byteSize(byteSize_) {}
- ~VertexBufferResource();
+ ~VertexBufferResource() override;
UniqueBuffer buffer;
int byteSize;