[Positioning] Fix ReferencePoint::operator<<()

This commit is contained in:
Matteo Cypriani 2011-07-20 09:55:25 +02:00
parent cf7bcecd10
commit fc13bc296c
1 changed files with 2 additions and 2 deletions

View File

@ -176,11 +176,11 @@ bool ReferencePoint::operator==(const ReferencePoint &source) const
ostream &operator<<(ostream &os, const ReferencePoint &rp)
{
// Coordinates
os << (Point3D) rp << '\n' ;
os << static_cast<Point3D>(rp) ;
// List of requests
if (rp.requests.empty())
os << "No request." << '\n' ;
os << "\nNo request." << '\n' ;
else
for (vector<CalibrationRequest*>::const_iterator
i = rp.requests.begin() ;