summaryrefslogtreecommitdiff
path: root/include/mbgl/storage/file_source.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/storage/file_source.hpp')
-rw-r--r--include/mbgl/storage/file_source.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/mbgl/storage/file_source.hpp b/include/mbgl/storage/file_source.hpp
index 0ce88981a5..562fd8da08 100644
--- a/include/mbgl/storage/file_source.hpp
+++ b/include/mbgl/storage/file_source.hpp
@@ -48,6 +48,8 @@ public:
// Allows to forward response from one source to another.
// Optionally, callback can be provided to receive notification for forward
// operation.
+ //
+ // NOLINTNEXTLINE(performance-unnecessary-value-param)
virtual void forward(const Resource&, const Response&, std::function<void()>) {}
// When a file source supports consulting a local cache only, it must return true.
@@ -82,7 +84,7 @@ public:
virtual mapbox::base::Value getProperty(const std::string&) const { return {}; };
// When supported, sets the modifier of the requested resources.
- virtual void setResourceTransform(ResourceTransform) {}
+ virtual void setResourceTransform(ResourceTransform) {} // NOLINT(performance-unnecessary-value-param)
protected:
FileSource() = default;