diff options
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)); |