From 36aaa220a62a06a3171fed45293c32c60f22977c Mon Sep 17 00:00:00 2001 From: Felix Schindler <felix.schindler@wwu.de> Date: Fri, 27 Oct 2017 22:32:08 +0200 Subject: [PATCH] [walker.apply-on] minor fix in CustomBoundaryIntersections --- dune/xt/grid/walker/apply-on.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dune/xt/grid/walker/apply-on.hh b/dune/xt/grid/walker/apply-on.hh index aee787348..3f95ddc34 100644 --- a/dune/xt/grid/walker/apply-on.hh +++ b/dune/xt/grid/walker/apply-on.hh @@ -355,9 +355,10 @@ public: /** * \attention Takes ownership of boundary_type, do not delete manually! */ - explicit CustomBoundaryIntersections(const BoundaryInfo<IntersectionType>& boundary_info, BoundaryType* boundary_type) + explicit CustomBoundaryIntersections(const BoundaryInfo<IntersectionType>& boundary_info, + BoundaryType*&& boundary_type) : boundary_info_(boundary_info) - , boundary_type_(boundary_type) + , boundary_type_(std::move(boundary_type)) { } -- GitLab