summaryrefslogtreecommitdiffstats
path: root/tests/hawd/dataset.cpp
diff options
context:
space:
mode:
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 3325850..0d3047f 100644
--- a/tests/hawd/dataset.cpp
+++ b/tests/hawd/dataset.cpp
@@ -297,7 +297,7 @@ void Dataset::eachRow(const std::function<void(const Row &row)> &resultHandler)
297 } 297 }
298 298
299 row.fromBinary(value); 299 row.fromBinary(value);
300 row.m_key = *(qint64 *)key.data(); 300 row.m_key = *(const qint64 *)key.data();
301 resultHandler(row); 301 resultHandler(row);
302 return true; 302 return true;
303 }, 303 },