diff --git a/include/xo/unit/xquantity_iostream.hpp b/include/xo/unit/xquantity_iostream.hpp index 402c77d8..0eb6ce95 100644 --- a/include/xo/unit/xquantity_iostream.hpp +++ b/include/xo/unit/xquantity_iostream.hpp @@ -17,10 +17,14 @@ namespace xo { operator<< (std::ostream & os, const Quantity & x) { + os << x.scale() << x.abbrev(); + +#ifdef NOT_USING os << ""; +#endif return os; }