From 9dd7a48967f99793b818f7362ac8e95717186774 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Tue, 10 Nov 2020 09:26:04 +0100 Subject: Added more tests for cpp01/07 --- cpp02/ex00/Fixed.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpp02/ex00/Fixed.hpp') diff --git a/cpp02/ex00/Fixed.hpp b/cpp02/ex00/Fixed.hpp index 2ffe775..c8bdfb0 100644 --- a/cpp02/ex00/Fixed.hpp +++ b/cpp02/ex00/Fixed.hpp @@ -6,7 +6,7 @@ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/13 11:40:49 by charles #+# #+# */ -/* Updated: 2020/10/19 08:27:01 by cacharle ### ########.fr */ +/* Updated: 2020/11/09 13:10:35 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -21,13 +21,13 @@ public: Fixed(); Fixed(Fixed const& other); ~Fixed(); - void operator=(Fixed const& other); + Fixed& operator=(Fixed const& other); int getRawBits() const; void setRawBits(int const raw); private: - int m_value; + int m_value; static int const m_fractional_bits = 8; }; -- cgit