From 0f3240844dbd5a874e1565a988ef355ededab6a5 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 13 Apr 2020 10:33:05 +0200 Subject: Fixing cpp01 --- cpp01/ex05/Human.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'cpp01/ex05/Human.cpp') diff --git a/cpp01/ex05/Human.cpp b/cpp01/ex05/Human.cpp index 4db0568..f4c0066 100644 --- a/cpp01/ex05/Human.cpp +++ b/cpp01/ex05/Human.cpp @@ -6,18 +6,23 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/02 12:52:38 by cacharle #+# #+# */ -/* Updated: 2020/02/02 13:08:39 by cacharle ### ########.fr */ +/* Updated: 2020/04/13 10:09:03 by charles ### ########.fr */ /* */ /* ************************************************************************** */ #include "Human.hpp" +Human::Human() + : m_brain() +{ +} + std::string Human::identify() { - return brain.identify(); + return m_brain.identify(); } const Brain& Human::getBrain() { - return brain; + return m_brain; } -- cgit