aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex05/Human.cpp
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-11-10 09:26:04 +0100
committerCharles Cabergs <me@cacharle.xyz>2020-11-10 09:26:04 +0100
commit9dd7a48967f99793b818f7362ac8e95717186774 (patch)
treed96d81af7cd6d36de7b5e01cab7688b60446f03a /cpp01/ex05/Human.cpp
parent631a8d7b6c214da48f7748e78fc8c308960414fb (diff)
downloadpiscine_cpp-9dd7a48967f99793b818f7362ac8e95717186774.tar.gz
piscine_cpp-9dd7a48967f99793b818f7362ac8e95717186774.tar.bz2
piscine_cpp-9dd7a48967f99793b818f7362ac8e95717186774.zip
Added more tests for cpp01/07
Diffstat (limited to 'cpp01/ex05/Human.cpp')
-rw-r--r--cpp01/ex05/Human.cpp4
1 files changed, 2 insertions, 2 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;
}