summaryrefslogtreecommitdiff
path: root/ex03/HumanB.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ex03/HumanB.hpp')
-rw-r--r--ex03/HumanB.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ex03/HumanB.hpp b/ex03/HumanB.hpp
index ce4edbd..c22b5c4 100644
--- a/ex03/HumanB.hpp
+++ b/ex03/HumanB.hpp
@@ -6,7 +6,7 @@
/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/10 12:00:55 by dkaiser #+# #+# */
-/* Updated: 2025/02/10 12:29:43 by dkaiser ### ########.fr */
+/* Updated: 2025/02/10 12:55:00 by dkaiser ### ########.fr */
/* */
/* ************************************************************************** */
@@ -21,7 +21,7 @@ class HumanB
public:
HumanB(const std::string &name);
void attack(void) const;
- void setWeapon(Weapon *weapon);
+ void setWeapon(Weapon &weapon);
private:
Weapon* weapon;
std::string name;