Skip to content

Commit

Permalink
Remove pessimizing move (#593)
Browse files Browse the repository at this point in the history
Signed-off-by: Shameek Ganguly <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Co-authored-by: Shameek Ganguly <[email protected]>
  • Loading branch information
mjcarroll and shameekganguly authored Apr 10, 2024
1 parent 285a469 commit 5794473
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graphics/src/MeshManager_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ TEST_F(MeshManager, ConvexDecomposition)
std::size_t maxConvexHulls = 4;
std::size_t resolution = 1000;
auto submesh = boxMesh->SubMeshByIndex(0u).lock();
auto decomposed = std::move(common::MeshManager::ConvexDecomposition(
*(submesh.get()), maxConvexHulls, resolution));
auto decomposed = common::MeshManager::ConvexDecomposition(
*(submesh.get()), maxConvexHulls, resolution);

// Decomposing a box should just produce a box
EXPECT_EQ(1u, decomposed.size());
Expand Down

0 comments on commit 5794473

Please sign in to comment.