Skip to content
Snippets Groups Projects
Commit 9a132d5d authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[MeL] Remove unnecessary temporary.

parent 816583ce
No related branches found
No related tags found
No related merge requests found
......@@ -56,8 +56,8 @@ std::unique_ptr<MeshLib::Mesh> createFlippedMesh(MeshLib::Mesh const& mesh)
for (std::size_t i=0; i<n_elems; ++i)
new_elems.push_back(createFlippedElement(*elems[i], new_nodes).release());
const MeshLib::Properties& new_props (mesh.getProperties());
return std::unique_ptr<MeshLib::Mesh>(new MeshLib::Mesh("FlippedElementMesh", new_nodes, new_elems, new_props));
return std::unique_ptr<MeshLib::Mesh>(new MeshLib::Mesh(
"FlippedElementMesh", new_nodes, new_elems, mesh.getProperties()));
}
} // end namespace MeshLib
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment