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/ex03/MateriaSource.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpp04/ex03/MateriaSource.hpp') diff --git a/cpp04/ex03/MateriaSource.hpp b/cpp04/ex03/MateriaSource.hpp index a8b4c0e..eb233eb 100644 --- a/cpp04/ex03/MateriaSource.hpp +++ b/cpp04/ex03/MateriaSource.hpp @@ -6,7 +6,7 @@ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/14 17:17:40 by charles #+# #+# */ -/* Updated: 2020/04/14 17:33:50 by charles ### ########.fr */ +/* Updated: 2020/11/12 15:45:28 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -16,12 +16,13 @@ # include "IMateriaSource.hpp" # define LEARNED_MAX_SIZE 4 + class MateriaSource : public IMateriaSource { public: MateriaSource(); MateriaSource(MateriaSource const& other); - void operator=(MateriaSource const& other); + MateriaSource& operator=(MateriaSource const& other); virtual ~MateriaSource(); virtual void learnMateria(AMateria* materia); -- cgit