[Positioning] Direction: Remove operator<<
This commit is contained in:
parent
49ba6ab320
commit
bc46fc1af2
|
@ -64,11 +64,3 @@ Direction::operator std::string() const
|
||||||
}
|
}
|
||||||
return "Bad direction!" ;
|
return "Bad direction!" ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
std::ostream& operator<<(std::ostream &os, const Direction &d)
|
|
||||||
{
|
|
||||||
os << static_cast<int>(d) ;
|
|
||||||
return os ;
|
|
||||||
}
|
|
||||||
|
|
|
@ -38,10 +38,6 @@ public:
|
||||||
operator int(void) const ;
|
operator int(void) const ;
|
||||||
operator std::string(void) const ;
|
operator std::string(void) const ;
|
||||||
//@}
|
//@}
|
||||||
|
|
||||||
/// Displays a Direction
|
|
||||||
friend std::ostream& operator<<(std::ostream &os,
|
|
||||||
const Direction &d) ;
|
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue