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.cpp | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'cpp04/ex03/MateriaSource.cpp') diff --git a/cpp04/ex03/MateriaSource.cpp b/cpp04/ex03/MateriaSource.cpp index f5aaf60..087af3e 100644 --- a/cpp04/ex03/MateriaSource.cpp +++ b/cpp04/ex03/MateriaSource.cpp @@ -6,35 +6,25 @@ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/14 17:19:10 by charles #+# #+# */ -/* Updated: 2020/04/15 10:05:47 by charles ### ########.fr */ +/* Updated: 2020/11/12 15:45:23 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #include "MateriaSource.hpp" -MateriaSource::MateriaSource() -{ - -} +MateriaSource::MateriaSource() {} -MateriaSource::MateriaSource(MateriaSource const& other) -{ - *this = other; -} +MateriaSource::MateriaSource(MateriaSource const& other) { *this = other; } void MateriaSource::operator=(MateriaSource const& other) { - + return *this; } -MateriaSource::~MateriaSource() -{ - -} +MateriaSource::~MateriaSource() {} void MateriaSource::learnMateria(AMateria* materia) { - } AMateria* MateriaSource::createMateria(std::string const& type) -- cgit