diff options
Diffstat (limited to 'cpp01/ex06/HumanB.hpp')
| -rw-r--r-- | cpp01/ex06/HumanB.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp01/ex06/HumanB.hpp b/cpp01/ex06/HumanB.hpp index fc9236c..d21cb9d 100644 --- a/cpp01/ex06/HumanB.hpp +++ b/cpp01/ex06/HumanB.hpp @@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/02 16:42:54 by cacharle #+# #+# */ -/* Updated: 2020/11/09 11:09:56 by cacharle ### ########.fr */ +/* Updated: 2020/11/10 08:39:45 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -21,10 +21,10 @@ class HumanB public: HumanB(std::string const& name); void attack(); - void setWeapon(Weapon& weapon); + void setWeapon(Weapon const& weapon); private: - std::string m_name; - Weapon* m_weapon; + std::string m_name; + Weapon const* m_weapon; }; #endif |
