From: Wolfgang Bangerth Date: Tue, 29 Jan 2019 16:25:31 +0000 (-0700) Subject: Change the way the constructor template argument works. X-Git-Tag: v9.1.0-rc1~360^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4100f1edfdd6332dfc8f13fe32805f83275d6857;p=dealii.git Change the way the constructor template argument works. --- diff --git a/include/deal.II/base/point.h b/include/deal.II/base/point.h index 38a87c6f24..d486ae36c8 100644 --- a/include/deal.II/base/point.h +++ b/include/deal.II/base/point.h @@ -148,9 +148,9 @@ public: /** * Convert a boost::geometry::point to a dealii::Point. */ - template + template Point(const boost::geometry::model:: - point &boost_pt, + point &boost_pt, typename std::enable_if<(dim == dummy_dim) && (dummy_dim != 0), int>::type = 0); @@ -374,7 +374,7 @@ template template inline Point::Point( const boost::geometry::model:: - point &boost_pt, + point &boost_pt, typename std::enable_if<(dim == dummy_dim) && (dummy_dim != 0), int>::type) { Assert(dim <= 3, ExcNotImplemented());