Skip to content
Snippets Groups Projects
Commit 9724d521 authored by Elias Pipping's avatar Elias Pipping
Browse files

[Cleanup] Use make_pair

parent dc3abdeb
No related branches found
No related tags found
No related merge requests found
......@@ -26,8 +26,7 @@ template <class GridView, int dimension> class SpecialWriter {
std::pair<ElementPointer, LocalVector> globalToLocal(LocalVector const &x)
const {
auto const element = hsearch_.findEntity(x);
return std::pair<ElementPointer, LocalVector>(element,
element->geometry().local(x));
return std::make_pair(element, element->geometry().local(x));
}
std::fstream writer_;
......
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