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

[T] Replace mem_fn(clone) with explicit lambda.

parent 0bf02e21
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ public:
// deep copy because the searcher destroys the elements.
std::transform(elems.cbegin(), elems.cend(),
std::back_inserter(boundary_elements),
std::mem_fn(&MeL::Element::clone));
[](MeL::Element const* e) { return e->clone(); });
std::vector<MeL::Node*> nodes = MeL::getUniqueNodes(boundary_elements);
......
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