geom/aabb: don't write the class name with ostream operators

This commit is contained in:
Danny Robson 2017-08-24 17:52:59 +10:00
parent e573c0bcc6
commit 07d74187c5

View File

@ -152,8 +152,7 @@ template <size_t S, typename T>
std::ostream& std::ostream&
util::geom::operator<< (std::ostream &os, util::geom::aabb<S,T> b) util::geom::operator<< (std::ostream &os, util::geom::aabb<S,T> b)
{ {
os << "aabb(" << b.p0 << ", " << b.p1 << ")"; return os << "[ " << b.p0 << ", " << b.p1 << " ]";
return os;
} }