summaryrefslogtreecommitdiffstats
path: root/tests/storagebenchmark.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/storagebenchmark.cpp')
-rw-r--r--tests/storagebenchmark.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storagebenchmark.cpp b/tests/storagebenchmark.cpp
index 6010539..9c95d3b 100644
--- a/tests/storagebenchmark.cpp
+++ b/tests/storagebenchmark.cpp
@@ -118,7 +118,7 @@ private Q_SLOTS:
118 { 118 {
119 for (int i = 0; i < count; i++) { 119 for (int i = 0; i < count; i++) {
120 if (store) { 120 if (store) {
121 store->read(keyPrefix + std::to_string(i), [](std::string value){}); 121 store->read(keyPrefix + std::to_string(i), [](std::string value) -> bool { return true; });
122 } 122 }
123 } 123 }
124 } 124 }