Rename adoptVector into getVector

This commit is contained in:
mkrzewic
2018-10-29 11:37:25 +01:00
committed by Dennis Klein
parent 1f42f49ae5
commit 1a07137dda
2 changed files with 4 additions and 4 deletions

View File

@@ -166,7 +166,7 @@ TEST(MemoryResources, adoptVector_test)
std::memcpy(message->GetData(), tmpBuf, 3 * sizeof(testData));
auto adoptedOwner =
adoptVector<testData>(3, std::move(message));
getVector<testData>(3, std::move(message));
EXPECT_TRUE(adoptedOwner[0].i == 3);
EXPECT_TRUE(adoptedOwner[1].i == 2);
EXPECT_TRUE(adoptedOwner[2].i == 1);