From b8e39b947890e74d82530e25ad9d02668aae1f0c Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Thu, 12 Nov 2020 15:46:07 +0100 Subject: Reformating cpp04 classes --- cpp04/ex00/Peon.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpp04/ex00/Peon.hpp') diff --git a/cpp04/ex00/Peon.hpp b/cpp04/ex00/Peon.hpp index 2d57a05..0f50207 100644 --- a/cpp04/ex00/Peon.hpp +++ b/cpp04/ex00/Peon.hpp @@ -6,7 +6,7 @@ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/13 20:50:54 by charles #+# #+# */ -/* Updated: 2020/04/13 20:57:37 by charles ### ########.fr */ +/* Updated: 2020/11/12 13:00:49 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -20,8 +20,8 @@ class Peon : public Victim { public: - Peon(std::string name); - void operator=(Peon const& other); + Peon(std::string const& name); + Peon& operator=(Peon const& other); Peon(Peon const& other); ~Peon(); -- cgit