From 25fa09178b7d0d0befa708e93ea5316ef381caa0 Mon Sep 17 00:00:00 2001 From: Krzysztof Kosi??ski Date: Fri, 22 May 2015 10:23:27 +0200 Subject: Update to 2Geom revision 2396 (bzr r14059.2.16) --- src/2geom/point.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/2geom/point.h') diff --git a/src/2geom/point.h b/src/2geom/point.h index 3e56ae358..f2659d351 100644 --- a/src/2geom/point.h +++ b/src/2geom/point.h @@ -250,17 +250,12 @@ public: Dim2 dim; }; //template , typename Second = std::less > LexOrder - - friend inline std::ostream &operator<< (std::ostream &out_file, const Geom::Point &in_pnt); }; /** @brief Output operator for points. * Prints out the coordinates. * @relates Point */ -inline std::ostream &operator<< (std::ostream &out_file, const Geom::Point &in_pnt) { - out_file << "X: " << in_pnt[X] << " Y: " << in_pnt[Y]; - return out_file; -} +std::ostream &operator<<(std::ostream &out, const Geom::Point &p); template<> struct Point::LexLess { typedef std::less Primary; -- cgit v1.2.3