aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex03/ZombieHorde.hpp
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-11-09 12:58:53 +0100
committerCharles Cabergs <me@cacharle.xyz>2020-11-09 12:58:53 +0100
commit631a8d7b6c214da48f7748e78fc8c308960414fb (patch)
treef68b1b79c9092ee14f78e93b8d5b157c8313c51a /cpp01/ex03/ZombieHorde.hpp
parent0458a2f2fb93abcbf5f400e5eb1121a24e752ae1 (diff)
downloadpiscine_cpp-631a8d7b6c214da48f7748e78fc8c308960414fb.tar.gz
piscine_cpp-631a8d7b6c214da48f7748e78fc8c308960414fb.tar.bz2
piscine_cpp-631a8d7b6c214da48f7748e78fc8c308960414fb.zip
Fixing cpp01/03 single allocation for zombies in horde
Diffstat (limited to 'cpp01/ex03/ZombieHorde.hpp')
-rw-r--r--cpp01/ex03/ZombieHorde.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp01/ex03/ZombieHorde.hpp b/cpp01/ex03/ZombieHorde.hpp
index bb6bbde..c6bd496 100644
--- a/cpp01/ex03/ZombieHorde.hpp
+++ b/cpp01/ex03/ZombieHorde.hpp
@@ -6,7 +6,7 @@
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/13 09:52:18 by charles #+# #+# */
-/* Updated: 2020/11/09 10:53:45 by cacharle ### ########.fr */
+/* Updated: 2020/11/09 12:45:34 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -26,8 +26,8 @@ public:
void announce();
private:
- size_t m_size;
- Zombie** m_horde;
+ size_t m_size;
+ Zombie* m_horde;
};
#endif