aboutsummaryrefslogtreecommitdiff
path: root/cpp04/ex01/PowerFist.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp04/ex01/PowerFist.hpp')
-rw-r--r--cpp04/ex01/PowerFist.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp04/ex01/PowerFist.hpp b/cpp04/ex01/PowerFist.hpp
index 2fbf212..100933a 100644
--- a/cpp04/ex01/PowerFist.hpp
+++ b/cpp04/ex01/PowerFist.hpp
@@ -6,7 +6,7 @@
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/14 13:14:42 by charles #+# #+# */
-/* Updated: 2020/04/14 14:04:27 by charles ### ########.fr */
+/* Updated: 2020/11/12 13:40:00 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -21,7 +21,7 @@ class PowerFist : public AWeapon
public:
PowerFist();
PowerFist(PowerFist const& other);
- void operator=(PowerFist const& other);
+ PowerFist& operator=(PowerFist const& other);
~PowerFist();
virtual void attack() const;