diff options
Diffstat (limited to 'cpp01/ex05')
| -rw-r--r-- | cpp01/ex05/Human.cpp | 4 | ||||
| -rw-r--r-- | cpp01/ex05/Human.hpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cpp01/ex05/Human.cpp b/cpp01/ex05/Human.cpp index e7f55bd..e5f2099 100644 --- a/cpp01/ex05/Human.cpp +++ b/cpp01/ex05/Human.cpp @@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/02 12:52:38 by cacharle #+# #+# */ -/* Updated: 2020/11/09 11:04:09 by cacharle ### ########.fr */ +/* Updated: 2020/11/10 08:31:38 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -19,7 +19,7 @@ std::string Human::identify() const return m_brain.identify(); } -const Brain& Human::getBrain() const +Brain const& Human::getBrain() const { return m_brain; } diff --git a/cpp01/ex05/Human.hpp b/cpp01/ex05/Human.hpp index fc89d03..bf872e4 100644 --- a/cpp01/ex05/Human.hpp +++ b/cpp01/ex05/Human.hpp @@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/02 12:52:39 by cacharle #+# #+# */ -/* Updated: 2020/11/09 11:03:44 by cacharle ### ########.fr */ +/* Updated: 2020/11/10 08:31:46 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -20,7 +20,7 @@ class Human public: Human(); std::string identify() const; - const Brain& getBrain() const; + Brain const& getBrain() const; private: const Brain m_brain; |
