diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-11-09 11:26:50 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-11-09 11:26:50 +0100 |
| commit | b799c007a1b6911fcbe5141429ea541e1277ebdd (patch) | |
| tree | d70ad0826ad2fc2d635adf9afecf89af0838d20b /cpp01/ex06/HumanB.hpp | |
| parent | 1e9d90bdf9ef5fc05093d3449d883597c7f896de (diff) | |
| download | piscine_cpp-b799c007a1b6911fcbe5141429ea541e1277ebdd.tar.gz piscine_cpp-b799c007a1b6911fcbe5141429ea541e1277ebdd.tar.bz2 piscine_cpp-b799c007a1b6911fcbe5141429ea541e1277ebdd.zip | |
Fixing some edge cases in cpp00 and cpp01, Updated formatting
Diffstat (limited to 'cpp01/ex06/HumanB.hpp')
| -rw-r--r-- | cpp01/ex06/HumanB.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp01/ex06/HumanB.hpp b/cpp01/ex06/HumanB.hpp index 269f4fc..fc9236c 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/04/13 10:23:31 by charles ### ########.fr */ +/* Updated: 2020/11/09 11:09:56 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -19,12 +19,12 @@ class HumanB { public: - HumanB(std::string name); + HumanB(std::string const& name); void attack(); void setWeapon(Weapon& weapon); private: std::string m_name; - Weapon* m_weapon; + Weapon* m_weapon; }; #endif |
