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/HumanA.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp01/ex06/HumanA.hpp') diff --git a/cpp01/ex06/HumanA.hpp b/cpp01/ex06/HumanA.hpp index d05d2fd..30144bd 100644 --- a/cpp01/ex06/HumanA.hpp +++ b/cpp01/ex06/HumanA.hpp @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/02 16:37:23 by cacharle #+# #+# */ -/* Updated: 2020/11/09 11:08:55 by cacharle ### ########.fr */ +/* Updated: 2020/11/10 08:34:26 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -19,11 +19,11 @@ class HumanA { public: - HumanA(std::string const& name, Weapon& weapon); + HumanA(std::string const& name, Weapon const& weapon); void attack(); private: - std::string m_name; - Weapon& m_weapon; + std::string m_name; + Weapon const& m_weapon; }; #endif -- cgit