aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex05/Human.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp01/ex05/Human.cpp')
-rw-r--r--cpp01/ex05/Human.cpp11
1 files changed, 8 insertions, 3 deletions
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 <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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;
}