From 07d74187c597ca71a73a966eb87d9f05442e35bd Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 24 Aug 2017 17:52:59 +1000 Subject: [PATCH] geom/aabb: don't write the class name with ostream operators --- geom/aabb.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/geom/aabb.cpp b/geom/aabb.cpp index 74b75a1f..8a826025 100644 --- a/geom/aabb.cpp +++ b/geom/aabb.cpp @@ -152,8 +152,7 @@ template std::ostream& util::geom::operator<< (std::ostream &os, util::geom::aabb b) { - os << "aabb(" << b.p0 << ", " << b.p1 << ")"; - return os; + return os << "[ " << b.p0 << ", " << b.p1 << " ]"; }