From d86bd812f8f757aeec16301bb77ad9c628345de0 Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Tue, 2 Jul 2013 16:32:03 +0200 Subject: [PATCH] explicit --- dune/tectonic/localfriction.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dune/tectonic/localfriction.hh b/dune/tectonic/localfriction.hh index b9cded4b..4f610b25 100644 --- a/dune/tectonic/localfriction.hh +++ b/dune/tectonic/localfriction.hh @@ -19,7 +19,7 @@ template <int dimension> class LocalFriction { using VectorType = FieldVector<double, dimension>; using MatrixType = FieldMatrix<double, dimension, dimension>; - LocalFriction(shared_ptr<FrictionPotentialWrapper> func) + explicit LocalFriction(shared_ptr<FrictionPotentialWrapper> func) : func(func), smp(func->smallestPositivePoint()) {} double operator()(VectorType const &x) const { -- GitLab