boost/boost/polygon/point_data.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/boost/boost/polygon/point_data.hpp b/boost/boost/polygon/point_data.hpp index 8d5a59f..a2852c4 100644 --- a/boost/boost/polygon/point_data.hpp +++ b/boost/boost/polygon/point_data.hpp @@ -45,10 +45,17 @@ class point_data { return *this; } +#ifdef __GNUC__ template - point_data(const PointType& that) { + explicit point_data(const PointType& that) { *this = that; } +#else // __GNUC__ + template + point_data(const PointType& that) { + *this = that; + } +#endif // __GNUC__ template point_data& operator=(const PointType& that) {