From 1569c21f348f7f9214d595663ac663f5ff9af6fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ren=C3=A9=20Fritze?= <rene.fritze@wwu.de>
Date: Fri, 21 Aug 2020 15:43:26 +0200
Subject: [PATCH] [functions.esv] fix copy args

---
 dune/xt/functions/ESV2007.hh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dune/xt/functions/ESV2007.hh b/dune/xt/functions/ESV2007.hh
index 7d074eb7f..6f1a2ec46 100644
--- a/dune/xt/functions/ESV2007.hh
+++ b/dune/xt/functions/ESV2007.hh
@@ -327,7 +327,7 @@ private:
     };
 
     const std::unique_ptr<DiffusionType> diffusion_;
-    const std::unique_ptr<typename DiffusionType::LocalFunctionType> local_diffusion_;
+    std::unique_ptr<typename DiffusionType::LocalFunctionType> local_diffusion_;
     const RangeFieldType poincare_constant_;
     RangeFieldType value_;
   }; // class LocalCutoffFunction
@@ -353,7 +353,7 @@ public:
 
   CutoffFunction(const ThisType& other)
     : BaseType(other)
-    , diffusion_(other.diffusion_.copy_as_grid_function())
+    , diffusion_(other.diffusion_->copy_as_grid_function())
     , poincare_constant_(other.poincare_constant_)
     , name_(other.name_)
   {}
-- 
GitLab