diff DEPENDENCIES/generic/include/boost/polygon/point_data.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
line wrap: on
line diff
--- a/DEPENDENCIES/generic/include/boost/polygon/point_data.hpp	Fri Sep 04 12:01:02 2015 +0100
+++ b/DEPENDENCIES/generic/include/boost/polygon/point_data.hpp	Mon Sep 07 11:12:49 2015 +0100
@@ -45,10 +45,18 @@
     return *this;
   }
 
+#ifdef __GNUC__
+  // "explicit" to work around https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63356
   template <typename PointType>
   explicit point_data(const PointType& that) {
     *this = that;
   }
+#else // __GNUC__
+  template <typename PointType>
+  point_data(const PointType& that) {
+    *this = that;
+  }
+#endif // __GNUC__
 
   template <typename PointType>
   point_data& operator=(const PointType& that) {