diff options
-rw-r--r-- | memfilepersistence/src/tests/spi/iteratorhandlertest.cpp | 2 | ||||
-rw-r--r-- | persistence/src/vespa/persistence/conformancetest/conformancetest.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/memfilepersistence/src/tests/spi/iteratorhandlertest.cpp b/memfilepersistence/src/tests/spi/iteratorhandlertest.cpp index 6fb2a8393be..b34adc7fa8f 100644 --- a/memfilepersistence/src/tests/spi/iteratorhandlertest.cpp +++ b/memfilepersistence/src/tests/spi/iteratorhandlertest.cpp @@ -149,7 +149,7 @@ IteratorHandlerTest::doIterate(spi::IteratorId id, CPPUNIT_ASSERT_EQUAL(spi::Result::NONE, result.getErrorCode()); CPPUNIT_ASSERT(result.getEntries().size() > 0 || allowEmptyResult); - chunks.push_back(Chunk{std::move(result.steal_entries())}); + chunks.push_back(Chunk{result.steal_entries()}); if (result.isCompleted() || (maxChunks != 0 && chunks.size() >= maxChunks)) { diff --git a/persistence/src/vespa/persistence/conformancetest/conformancetest.cpp b/persistence/src/vespa/persistence/conformancetest/conformancetest.cpp index 7af0ea68da1..7f290ab906e 100644 --- a/persistence/src/vespa/persistence/conformancetest/conformancetest.cpp +++ b/persistence/src/vespa/persistence/conformancetest/conformancetest.cpp @@ -150,7 +150,7 @@ doIterate(PersistenceProvider& spi, CPPUNIT_ASSERT_EQUAL(Result::NONE, result.getErrorCode()); - chunks.push_back(Chunk{std::move(result.steal_entries())}); + chunks.push_back(Chunk{result.steal_entries()}); if (result.isCompleted() || (maxChunks != 0 && chunks.size() >= maxChunks)) { |