Skip to content
Snippets Groups Projects
Commit ebb5df07 authored by Tom Fischer's avatar Tom Fischer
Browse files

[PL] Remove warning: moving a temporary object prevents copy elision.

parent 444219ee
No related branches found
No related tags found
No related merge requests found
......@@ -306,8 +306,8 @@ private:
/// DOF-table.
void computeSparsityPattern()
{
_sparsity_pattern = std::move(NumLib::computeSparsityPattern(
*_local_to_global_index_map, _mesh));
_sparsity_pattern =
NumLib::computeSparsityPattern(*_local_to_global_index_map, _mesh);
}
protected:
......
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