diff options
Diffstat (limited to 'src/2geom/generic-interval.h')
| -rw-r--r-- | src/2geom/generic-interval.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/2geom/generic-interval.h b/src/2geom/generic-interval.h index ce7945ab6..e7892e2dd 100644 --- a/src/2geom/generic-interval.h +++ b/src/2geom/generic-interval.h @@ -32,6 +32,7 @@ #define LIB2GEOM_SEEN_GENERIC_INTERVAL_H #include <cassert> +#include <iostream> #include <boost/none.hpp> #include <boost/optional.hpp> #include <2geom/coord.h> @@ -338,14 +339,12 @@ inline GenericOptInterval<C> operator&(GenericInterval<C> const &a, GenericInter return GenericOptInterval<C>(a) & GenericOptInterval<C>(b); } -#ifdef _GLIBCXX_IOSTREAM template <typename C> inline std::ostream &operator<< (std::ostream &os, Geom::GenericInterval<C> const &I) { os << "Interval("<<I.min() << ", "<<I.max() << ")"; return os; } -#endif } // namespace Geom #endif // !LIB2GEOM_SEEN_GENERIC_INTERVAL_H |
