From: Daniel Arndt Date: Sat, 13 May 2017 21:55:28 +0000 (+0200) Subject: Add user-defined constructor for Point back in X-Git-Tag: v9.0.0-rc1~1597^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4386%2Fhead;p=dealii.git Add user-defined constructor for Point back in --- 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)