summaryrefslogtreecommitdiffstats
path: root/tests
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:16:56 +0100
commitbfc32f265e8ad72823db960fed371d72596003b7 (patch)
treeb0eee099102ce3d7e554ee25b45a27a57b50e127 /tests
parentce3f95bf4863a6677670c40929e39d03171a52ba (diff)
downloadsink-bfc32f265e8ad72823db960fed371d72596003b7.tar.gz
sink-bfc32f265e8ad72823db960fed371d72596003b7.zip
remove readAll in favor of using scan
Diffstat (limited to 'tests')
-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;