summaryrefslogtreecommitdiff
path: root/test/storage
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2020-03-27 18:30:35 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2020-04-17 13:36:50 +0300
commit7751e4be762857b91f7dfa5c10f0f024aebd0079 (patch)
tree0b3aa111a854ec3a0e9eb8362f1efdfbdab22482 /test/storage
parentc92be2965c8c8f36aed1cf86d8e44915855b4806 (diff)
downloadqtlocation-mapboxgl-7751e4be762857b91f7dfa5c10f0f024aebd0079.tar.gz
[core] Fix google-default-arguments errors in header files
As reported by clang-tidy-8.
Diffstat (limited to 'test/storage')
-rw-r--r--test/storage/main_resource_loader.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/storage/main_resource_loader.test.cpp b/test/storage/main_resource_loader.test.cpp
index 2622d91183..1bab30e1f8 100644
--- a/test/storage/main_resource_loader.test.cpp
+++ b/test/storage/main_resource_loader.test.cpp
@@ -692,11 +692,11 @@ TEST(MainResourceLoader, TEST_REQUIRES_SERVER(CachedResourceLowPriority)) {
// Put existing values into the cache.
Resource resource1{Resource::Unknown, "http://127.0.0.1:3000/load/3", {}, Resource::LoadingMethod::All};
response.data = std::make_shared<std::string>("Cached Request 3");
- dbfs->forward(resource1, response);
+ dbfs->forward(resource1, response, [] {});
Resource resource2{Resource::Unknown, "http://127.0.0.1:3000/load/4", {}, Resource::LoadingMethod::All};
response.data = std::make_shared<std::string>("Cached Request 4");
- dbfs->forward(resource2, response);
+ dbfs->forward(resource2, response, [] {});
onlineFs->setProperty(MAX_CONCURRENT_REQUESTS_KEY, 1u);
fs.pause();