From 27f8288bdca21e00071e7bfa70bfee41d78746c1 Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Wed, 10 Apr 2024 00:15:23 +0000 Subject: [PATCH] Remove pessimizing move Signed-off-by: Michael Carroll --- graphics/src/MeshManager_TEST.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphics/src/MeshManager_TEST.cc b/graphics/src/MeshManager_TEST.cc index dd7f8acb..e1a240cb 100644 --- a/graphics/src/MeshManager_TEST.cc +++ b/graphics/src/MeshManager_TEST.cc @@ -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());