diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-03-27 18:30:35 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-04-17 13:36:50 +0300 |
commit | 7751e4be762857b91f7dfa5c10f0f024aebd0079 (patch) | |
tree | 0b3aa111a854ec3a0e9eb8362f1efdfbdab22482 /include | |
parent | c92be2965c8c8f36aed1cf86d8e44915855b4806 (diff) | |
download | qtlocation-mapboxgl-7751e4be762857b91f7dfa5c10f0f024aebd0079.tar.gz |
[core] Fix google-default-arguments errors in header files
As reported by clang-tidy-8.
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/storage/file_source.hpp | 2 | ||||
-rw-r--r-- | include/mbgl/style/sources/geojson_source.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/storage/file_source.hpp b/include/mbgl/storage/file_source.hpp index 3306d8d76a..0ce88981a5 100644 --- a/include/mbgl/storage/file_source.hpp +++ b/include/mbgl/storage/file_source.hpp @@ -48,7 +48,7 @@ public: // Allows to forward response from one source to another. // Optionally, callback can be provided to receive notification for forward // operation. - virtual void forward(const Resource&, const Response&, std::function<void()> = {}) {} + virtual void forward(const Resource&, const Response&, std::function<void()>) {} // When a file source supports consulting a local cache only, it must return true. // Cache-only requests are requests that aren't as urgent, but could be useful, e.g. diff --git a/include/mbgl/style/sources/geojson_source.hpp b/include/mbgl/style/sources/geojson_source.hpp index f08f897bea..b728b340ea 100644 --- a/include/mbgl/style/sources/geojson_source.hpp +++ b/include/mbgl/style/sources/geojson_source.hpp @@ -50,7 +50,7 @@ public: // SuperclusterData virtual Features getChildren(std::uint32_t) = 0; - virtual Features getLeaves(std::uint32_t, std::uint32_t limit = 10u, std::uint32_t offset = 0u) = 0; + virtual Features getLeaves(std::uint32_t, std::uint32_t limit, std::uint32_t offset) = 0; virtual std::uint8_t getClusterExpansionZoom(std::uint32_t) = 0; virtual std::shared_ptr<Scheduler> getScheduler() { return nullptr; } |