diff options
Diffstat (limited to 'cpp03/ex02/ScavTrap.hpp')
| -rw-r--r-- | cpp03/ex02/ScavTrap.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp03/ex02/ScavTrap.hpp b/cpp03/ex02/ScavTrap.hpp index 1ec4008..b1c162d 100644 --- a/cpp03/ex02/ScavTrap.hpp +++ b/cpp03/ex02/ScavTrap.hpp @@ -6,7 +6,7 @@ /* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/13 14:11:51 by charles #+# #+# */ -/* Updated: 2020/04/13 15:34:53 by charles ### ########.fr */ +/* Updated: 2020/11/10 14:38:59 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -20,9 +20,9 @@ class ScavTrap : public ClapTrap { public: ScavTrap(); - ScavTrap(std::string name); + ScavTrap(std::string const& name); ScavTrap(ScavTrap const& other); - void operator=(ScavTrap const& other); + ScavTrap& operator=(ScavTrap const& other); ~ScavTrap(); void challengeNewcomer(std::string const& target); |
