summaryrefslogtreecommitdiffstats
path: root/tests/storagetest.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-07-13 14:43:37 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-07-13 14:43:37 +0200
commita3c3fb61e08523a563ce3cba86dc50c9c5fc2c5d (patch)
treed2d8737bb7758fbf521909a367e9188b9c5690f6 /tests/storagetest.cpp
parent60965ca1431b2b3bed4f49e6bf1a9d5e5d86a3d9 (diff)
downloadsink-a3c3fb61e08523a563ce3cba86dc50c9c5fc2c5d.tar.gz
sink-a3c3fb61e08523a563ce3cba86dc50c9c5fc2c5d.zip
Fixed new diagnostics errors
Diffstat (limited to 'tests/storagetest.cpp')
-rw-r--r--tests/storagetest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storagetest.cpp b/tests/storagetest.cpp
index e199faf..aa12ec1 100644
--- a/tests/storagetest.cpp
+++ b/tests/storagetest.cpp
@@ -28,7 +28,7 @@ private:
28 if (i % 10000 == 0) { 28 if (i % 10000 == 0) {
29 if (i > 0) { 29 if (i > 0) {
30 transaction.commit(); 30 transaction.commit();
31 transaction = std::move(storage.createTransaction(Sink::Storage::ReadWrite)); 31 transaction = storage.createTransaction(Sink::Storage::ReadWrite);
32 } 32 }
33 } 33 }
34 transaction.openDatabase().write(keyPrefix + QByteArray::number(i), keyPrefix + QByteArray::number(i)); 34 transaction.openDatabase().write(keyPrefix + QByteArray::number(i), keyPrefix + QByteArray::number(i));