From c63bd8165d3707f06bd2ab9bbbb82df95e4c2bc7 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Thu, 22 May 2014 13:47:30 +0200 Subject: [PATCH] Fixed minor compilation issue --- xs/src/Point.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xs/src/Point.hpp b/xs/src/Point.hpp index 39e9979d4..b83a2a238 100644 --- a/xs/src/Point.hpp +++ b/xs/src/Point.hpp @@ -23,7 +23,9 @@ class Point public: coord_t x; coord_t y; - explicit Point(coord_t _x = 0, coord_t _y = 0): x(_x), y(_y) {}; + Point(coord_t _x = 0, coord_t _y = 0): x(_x), y(_y) {}; + Point(int _x, int _y): x(_x), y(_y) {}; + Point(long long _x, long long _y): x(_x), y(_y) {}; // for Clipper Point(double x, double y); bool operator==(const Point& rhs) const; std::string wkt() const;