aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex05/Human.hpp
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-04-13 10:33:05 +0200
committerCharles <sircharlesaze@gmail.com>2020-04-13 10:33:05 +0200
commit0f3240844dbd5a874e1565a988ef355ededab6a5 (patch)
treeefc1a1307863d173be17a12fbab6b84fe7d00960 /cpp01/ex05/Human.hpp
parent629d52b1262879a346e9ca17567a8f483c60ba0a (diff)
downloadpiscine_cpp-0f3240844dbd5a874e1565a988ef355ededab6a5.tar.gz
piscine_cpp-0f3240844dbd5a874e1565a988ef355ededab6a5.tar.bz2
piscine_cpp-0f3240844dbd5a874e1565a988ef355ededab6a5.zip
Fixing cpp01
Diffstat (limited to 'cpp01/ex05/Human.hpp')
-rw-r--r--cpp01/ex05/Human.hpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/cpp01/ex05/Human.hpp b/cpp01/ex05/Human.hpp
index 6c38ee0..d7a4611 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/02/02 13:08:46 by cacharle ### ########.fr */
+/* Updated: 2020/04/13 10:08:07 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -17,12 +17,13 @@
class Human
{
- private:
- const Brain brain;
+public:
+ Human();
+ std::string identify();
+ const Brain& getBrain() ;
- public:
- std::string identify();
- const Brain& getBrain() ;
+private:
+ const Brain m_brain;
};
#endif