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=0a06ebfd84097e7841a445a5b580fd5e2e8e9b33;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)