From 9dd7a48967f99793b818f7362ac8e95717186774 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Tue, 10 Nov 2020 09:26:04 +0100 Subject: Added more tests for cpp01/07 --- cpp01/ex06/HumanB.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp01/ex06/HumanB.hpp') 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 +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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 -- cgit