Skip to content

Commit cc243f3

Browse files
authored
Merge pull request #927 from kswiecicki/coverity-usm-pool-manager-test
Fix usmPoolManager test coverity defect
2 parents f5829a1 + 7a9e83c commit cc243f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/usm/usmPoolManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ struct urUsmPoolManagerTest : public uur::urContextTest {
5858
UUR_RETURN_ON_FATAL_FAILURE(urContextTest::SetUp());
5959
auto [ret, descs] = usm::pool_descriptor::create(nullptr, context);
6060
ASSERT_EQ(ret, UR_RESULT_SUCCESS);
61-
poolDescriptors = descs;
61+
poolDescriptors = std::move(descs);
6262
}
6363

6464
std::vector<usm::pool_descriptor> poolDescriptors;

0 commit comments

Comments
 (0)