diff options
Diffstat (limited to 'cpp04/ex00/Victim.hpp')
| -rw-r--r-- | cpp04/ex00/Victim.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp04/ex00/Victim.hpp b/cpp04/ex00/Victim.hpp index dafd8c6..bf2b467 100644 --- a/cpp04/ex00/Victim.hpp +++ b/cpp04/ex00/Victim.hpp @@ -6,7 +6,7 @@ /* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/13 20:40:50 by charles #+# #+# */ -/* Updated: 2020/04/13 20:59:08 by charles ### ########.fr */ +/* Updated: 2020/11/12 12:57:01 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -19,12 +19,12 @@ class Victim { public: - Victim(std::string name); - void operator=(Victim const& other); + Victim(std::string const& name); + Victim& operator=(Victim const& other); Victim(Victim const& other); ~Victim(); - std::string const& getName() const; + std::string const& getName() const; virtual void getPolymorphed() const; protected: |
