Skip to content

Commit

Permalink
std::move here inhibits copy elison, remove.
Browse files Browse the repository at this point in the history
  • Loading branch information
lordofhyphens committed Dec 5, 2019
1 parent 510ba4e commit c2aa7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xs/src/libslic3r/TriangleMesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ Pointf3s TriangleMesh::normals() const
} else {
Slic3r::Log::warn("TriangleMesh", "normals() requires repair()");
}
return std::move(tmp);
return tmp;
}

Pointf3 TriangleMesh::size() const
Expand Down

0 comments on commit c2aa7e7

Please sign in to comment.