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/ex02/Squad.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpp04/ex02/Squad.hpp') diff --git a/cpp04/ex02/Squad.hpp b/cpp04/ex02/Squad.hpp index fda1148..9ea5268 100644 --- a/cpp04/ex02/Squad.hpp +++ b/cpp04/ex02/Squad.hpp @@ -6,13 +6,14 @@ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/14 15:07:57 by charles #+# #+# */ -/* Updated: 2020/04/14 15:28:02 by charles ### ########.fr */ +/* Updated: 2020/11/12 15:39:26 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef SQUAD_HPP # define SQUAD_HPP +# include # include "ISquad.hpp" # include "ISpaceMarine.hpp" @@ -21,7 +22,7 @@ class Squad : public ISquad public: Squad(); Squad(Squad const& other); - void operator=(Squad const& other); + Squad& operator=(Squad const& other); virtual ~Squad(); virtual int getCount() const; -- cgit