From 0a06ebfd84097e7841a445a5b580fd5e2e8e9b33 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sat, 13 May 2017 23:55:28 +0200 Subject: [PATCH] Add user-defined constructor for Point back in --- include/deal.II/base/point.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/include/deal.II/base/point.h b/include/deal.II/base/point.h index 09578ff793..8b20afef3b 100644 --- a/include/deal.II/base/point.h +++ b/include/deal.II/base/point.h @@ -93,7 +93,7 @@ public: * Standard constructor. Creates an object that corresponds to the origin, * i.e., all coordinates are set to zero. */ - Point () = default; + Point (); /** * Convert a tensor to a point. @@ -249,6 +249,15 @@ public: #ifndef DOXYGEN +// At least clang-3.7 requires us to have a user-defined constructor +// and we can't use 'Point::Point () = default' here. +template +inline +Point::Point () +{} + + + template inline Point::Point (const Tensor<1,dim,Number> &t) -- 2.39.5