diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-13 14:43:37 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-13 14:43:37 +0200 |
commit | a3c3fb61e08523a563ce3cba86dc50c9c5fc2c5d (patch) | |
tree | d2d8737bb7758fbf521909a367e9188b9c5690f6 /tests/storagetest.cpp | |
parent | 60965ca1431b2b3bed4f49e6bf1a9d5e5d86a3d9 (diff) | |
download | sink-a3c3fb61e08523a563ce3cba86dc50c9c5fc2c5d.tar.gz sink-a3c3fb61e08523a563ce3cba86dc50c9c5fc2c5d.zip |
Fixed new diagnostics errors
Diffstat (limited to 'tests/storagetest.cpp')
-rw-r--r-- | tests/storagetest.cpp | 2 |
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)); |