2
0
mirror of https://github.com/boostorg/polygon.git synced 2026-02-01 20:52:11 +00:00
This commit is contained in:
fiesh
2015-02-05 14:23:29 +01:00
parent 5fe679904b
commit ec43c8a88a

View File

@@ -45,10 +45,18 @@ class point_data {
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) {