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
|
b
|
class point_data {
|
45 | 45 | return *this; |
46 | 46 | } |
47 | 47 | |
| 48 | #ifdef __GNUC__ |
48 | 49 | template <typename PointType> |
49 | | point_data(const PointType& that) { |
| 50 | explicit point_data(const PointType& that) { |
50 | 51 | *this = that; |
51 | 52 | } |
| 53 | #else // __GNUC__ |
| 54 | template <typename PointType> |
| 55 | point_data(const PointType& that) { |
| 56 | *this = that; |
| 57 | } |
| 58 | #endif // __GNUC__ |
52 | 59 | |
53 | 60 | template <typename PointType> |
54 | 61 | point_data& operator=(const PointType& that) { |