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 | b49517b73705e69d401925658ae0657b8a98b6a6 (patch) | |
tree | 617a0f7493b0071be01e272efc819f15154190e7 /test | |
parent | 542c11ae63f4afff2e0c84712019c0f9f19ef590 (diff) | |
download | qtlocation-mapboxgl-b49517b73705e69d401925658ae0657b8a98b6a6.tar.gz |
[core] Fix performance-unnecessary-value-param errors in header files
As reported by clang-tidy-8.
Diffstat (limited to 'test')
-rw-r--r-- | test/renderer/image_manager.test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/renderer/image_manager.test.cpp b/test/renderer/image_manager.test.cpp index c3ab0d8227..395c9fe1e3 100644 --- a/test/renderer/image_manager.test.cpp +++ b/test/renderer/image_manager.test.cpp @@ -140,7 +140,7 @@ class StubImageManagerObserver : public ImageManagerObserver { public: int count = 0; std::function<void (const std::string&)> imageMissing = [](const std::string&){}; - void onStyleImageMissing(const std::string& id, std::function<void()> done) override { + void onStyleImageMissing(const std::string& id, const std::function<void()>& done) override { count++; imageMissing(id); done(); |