summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2015-07-10 18:21:00 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2015-07-11 12:42:45 +0300
commit06e27f905e1e89d1cef6fd6f1339400f270171d7 (patch)
tree48d45d43311c385c3ccccd51d6287ad74437f339 /test
parenta1c701ca93ba3ce0e2bf8dc4bc991124ce616939 (diff)
downloadqtlocation-mapboxgl-06e27f905e1e89d1cef6fd6f1339400f270171d7.tar.gz
Mark overrides
Detected by clang++-3.6
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/mock_view.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/fixtures/mock_view.hpp b/test/fixtures/mock_view.hpp
index ace8befbc1..17ad6ccfad 100644
--- a/test/fixtures/mock_view.hpp
+++ b/test/fixtures/mock_view.hpp
@@ -12,9 +12,9 @@ public:
MockView() = default;
// View implementation.
- float getPixelRatio() const { return 1; }
- std::array<uint16_t, 2> getSize() const { return {{ 0, 0 }}; }
- std::array<uint16_t, 2> getFramebufferSize() const { return {{ 0, 0 }}; }
+ float getPixelRatio() const override { return 1; }
+ std::array<uint16_t, 2> getSize() const override { return {{ 0, 0 }}; }
+ std::array<uint16_t, 2> getFramebufferSize() const override { return {{ 0, 0 }}; }
void activate() override {};
void deactivate() override {};