diff options
Diffstat (limited to 'cpp01/ex05/Human.cpp')
| -rw-r--r-- | cpp01/ex05/Human.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/cpp01/ex05/Human.cpp b/cpp01/ex05/Human.cpp index f4c0066..e7f55bd 100644 --- a/cpp01/ex05/Human.cpp +++ b/cpp01/ex05/Human.cpp @@ -6,23 +6,20 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/02 12:52:38 by cacharle #+# #+# */ -/* Updated: 2020/04/13 10:09:03 by charles ### ########.fr */ +/* Updated: 2020/11/09 11:04:09 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #include "Human.hpp" -Human::Human() - : m_brain() -{ -} +Human::Human() : m_brain() {} -std::string Human::identify() +std::string Human::identify() const { return m_brain.identify(); } -const Brain& Human::getBrain() +const Brain& Human::getBrain() const { return m_brain; } |
