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/ex01/PlasmaRifle.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp04/ex01/PlasmaRifle.hpp') diff --git a/cpp04/ex01/PlasmaRifle.hpp b/cpp04/ex01/PlasmaRifle.hpp index ef7caab..8ce7b0d 100644 --- a/cpp04/ex01/PlasmaRifle.hpp +++ b/cpp04/ex01/PlasmaRifle.hpp @@ -6,7 +6,7 @@ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/14 12:15:47 by charles #+# #+# */ -/* Updated: 2020/04/14 14:04:39 by charles ### ########.fr */ +/* Updated: 2020/11/12 13:36:55 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -21,7 +21,7 @@ class PlasmaRifle : public AWeapon public: PlasmaRifle(); PlasmaRifle(PlasmaRifle const& other); - void operator=(PlasmaRifle const& other); + PlasmaRifle& operator=(PlasmaRifle const& other); ~PlasmaRifle(); virtual void attack() const; -- cgit