summaryrefslogtreecommitdiffstats
path: root/tests/storagebenchmark.cpp
diff options
context:
space:
mode:
authorAaron Seigo <aseigo@kde.org>2014-12-06 00:39:07 +0100
committerAaron Seigo <aseigo@kde.org>2014-12-06 00:39:07 +0100
commit66bcbab0990c965196991d66ca2a595cf9135074 (patch)
tree3d592cd8c6369ebdb4407d564b01f31defd939cb /tests/storagebenchmark.cpp
parent1a429fd3103c16899f1f7be25046bb63b2b314c3 (diff)
downloadsink-66bcbab0990c965196991d66ca2a595cf9135074.tar.gz
sink-66bcbab0990c965196991d66ca2a595cf9135074.zip
read takes an error handler rather than returns a bool
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 }