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/Weapon.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/Weapon.hpp')
| -rw-r--r-- | cpp01/ex06/Weapon.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp01/ex06/Weapon.hpp b/cpp01/ex06/Weapon.hpp index d9ad476..08fef0c 100644 --- a/cpp01/ex06/Weapon.hpp +++ b/cpp01/ex06/Weapon.hpp @@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/02 16:34:31 by cacharle #+# #+# */ -/* Updated: 2020/04/13 10:16:46 by charles ### ########.fr */ +/* Updated: 2020/11/09 11:08:36 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -19,11 +19,11 @@ class Weapon { public: Weapon(std::string t); - const std::string& getType() const; - void setType(const std::string& t); + std::string const& getType() const; + void setType(std::string const& t); private: - std::string type; // subject want litteraly `type` + std::string type; // subject wants litteraly `type` }; #endif |
