From: Lukas Jiriste Date: Thu, 24 Oct 2024 12:26:24 +0000 (+0200) Subject: Make ex03 comply with the OCF X-Git-Url: https://git.ljiriste.work/?a=commitdiff_plain;h=9fce5a9160a409db62932e89f253304603ce03bc;p=42%2FCPP_Module_01 Make ex03 comply with the OCF --- diff --git a/ex03/HumanA.h b/ex03/HumanA.h index e8f4881..98c8d9a 100644 --- a/ex03/HumanA.h +++ b/ex03/HumanA.h @@ -10,6 +10,10 @@ class HumanA std::string m_name; Weapon &m_weapon; + HumanA(); + HumanA(const HumanA &other); + HumanA &operator=(const HumanA &other); + public: HumanA(std::string name, Weapon &weapon); ~HumanA(); diff --git a/ex03/HumanB.h b/ex03/HumanB.h index 241ece7..73a08c4 100644 --- a/ex03/HumanB.h +++ b/ex03/HumanB.h @@ -10,6 +10,10 @@ class HumanB std::string m_name; Weapon *m_weapon; + HumanB(); + HumanB(const HumanB &other); + HumanB &operator=(const HumanB &other); + public: HumanB(std::string name = "human", Weapon *weapon = NULL); ~HumanB();