From 7751e4be762857b91f7dfa5c10f0f024aebd0079 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Fri, 27 Mar 2020 18:30:35 +0200 Subject: [core] Fix google-default-arguments errors in header files As reported by clang-tidy-8. --- include/mbgl/storage/file_source.hpp | 2 +- include/mbgl/style/sources/geojson_source.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 = {}) {} + virtual void forward(const Resource&, const Response&, std::function) {} // 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 getScheduler() { return nullptr; } -- cgit v1.2.1