summaryrefslogtreecommitdiffstats
path: root/tests/hawd/dataset.cpp
diff options
context:
space:
mode:
authorAaron Seigo <aseigo@kde.org>2014-12-14 10:16:42 +0100
committerAaron Seigo <aseigo@kde.org>2014-12-14 10:19:09 +0100
commit29c1f7072db7484c214a7f6056faad0ffd83c71f (patch)
tree086cfb9997268cef5dc919bf724e1479946cb551 /tests/hawd/dataset.cpp
parent9ee8378d393778ac67314be7ea8d5bcbaeee9ee0 (diff)
downloadsink-29c1f7072db7484c214a7f6056faad0ffd83c71f.tar.gz
sink-29c1f7072db7484c214a7f6056faad0ffd83c71f.zip
remove readAll in favor of using scan
Diffstat (limited to 'tests/hawd/dataset.cpp')
-rw-r--r--tests/hawd/dataset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hawd/dataset.cpp b/tests/hawd/dataset.cpp
index dcc6b4f..a5328e4 100644
--- a/tests/hawd/dataset.cpp
+++ b/tests/hawd/dataset.cpp
@@ -252,7 +252,7 @@ void Dataset::eachRow(const std::function<void(const Row &row)> &resultHandler)
252 } 252 }
253 253
254 Row row(*this); 254 Row row(*this);
255 m_storage.readAll( 255 m_storage.scan(nullptr, 0,
256 [&](void *key, int keySize, void *data, int dataSize) -> bool { 256 [&](void *key, int keySize, void *data, int dataSize) -> bool {
257 if (keySize != sizeof(qint64)) { 257 if (keySize != sizeof(qint64)) {
258 return true; 258 return true;