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/Sorcerer.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cpp04/ex00/Sorcerer.hpp') diff --git a/cpp04/ex00/Sorcerer.hpp b/cpp04/ex00/Sorcerer.hpp index ed261ae..cf7676b 100644 --- a/cpp04/ex00/Sorcerer.hpp +++ b/cpp04/ex00/Sorcerer.hpp @@ -6,7 +6,7 @@ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/13 20:27:26 by charles #+# #+# */ -/* Updated: 2020/04/13 20:58:46 by charles ### ########.fr */ +/* Updated: 2020/11/12 12:51:45 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -20,13 +20,13 @@ class Sorcerer { public: - Sorcerer(std::string name, std::string title); - void operator=(Sorcerer const& other); + Sorcerer(std::string const& name, std::string const& title); + Sorcerer& operator=(Sorcerer const& other); Sorcerer(Sorcerer const& other); ~Sorcerer(); - std::string const& getName() const; - std::string const& getTitle() const; + std::string const& getName() const; + std::string const& getTitle() const; void polymorph(Victim const& v) const; private: -- cgit