diff options
Diffstat (limited to 'cpp04/ex01/SuperMutant.hpp')
| -rw-r--r-- | cpp04/ex01/SuperMutant.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp04/ex01/SuperMutant.hpp b/cpp04/ex01/SuperMutant.hpp index 1a890cc..64198de 100644 --- a/cpp04/ex01/SuperMutant.hpp +++ b/cpp04/ex01/SuperMutant.hpp @@ -6,7 +6,7 @@ /* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/14 13:29:53 by charles #+# #+# */ -/* Updated: 2020/04/14 13:37:56 by charles ### ########.fr */ +/* Updated: 2020/11/12 13:50:54 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -21,7 +21,7 @@ class SuperMutant : public Enemy public: SuperMutant(); SuperMutant(SuperMutant const& other); - void operator=(SuperMutant const& other); + SuperMutant& operator=(SuperMutant const& other); ~SuperMutant(); virtual void takeDamage(int amount); |
