d02 ex02 operator < ok
This commit is contained in:
@@ -125,8 +125,8 @@ float Fixed::toFloat( void ) const {
|
||||
* took here : https://github.com/pgomez-a/42_CPP_Piscine/blob/master/cpp02/ex01/Fixed.cpp
|
||||
*/
|
||||
|
||||
std::ostream & operator<<(std::ostream & out, Fixed const & fixed)
|
||||
std::ostream & operator<<(std::ostream & o, Fixed const & rhs)
|
||||
{
|
||||
out << fixed.toFloat();
|
||||
return (out);
|
||||
o << rhs.toFloat();
|
||||
return (o);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user