summaryrefslogtreecommitdiffstats
path: root/src/2geom/point.h
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2015-05-22 08:23:27 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2015-05-22 08:23:27 +0000
commit25fa09178b7d0d0befa708e93ea5316ef381caa0 (patch)
tree550b4d0d66d0d234b3f49e868cb747987dcc6bf8 /src/2geom/point.h
parentMerge from trunk (diff)
downloadinkscape-25fa09178b7d0d0befa708e93ea5316ef381caa0.tar.gz
inkscape-25fa09178b7d0d0befa708e93ea5316ef381caa0.zip
Update to 2Geom revision 2396
(bzr r14059.2.16)
Diffstat (limited to 'src/2geom/point.h')
-rw-r--r--src/2geom/point.h7
1 files changed, 1 insertions, 6 deletions
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 First = std::less<Coord>, typename Second = std::less<Coord> > 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<X> {
typedef std::less<Coord> Primary;