From 631a8d7b6c214da48f7748e78fc8c308960414fb Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 9 Nov 2020 12:58:53 +0100 Subject: Fixing cpp01/03 single allocation for zombies in horde --- cpp01/ex03/ZombieHorde.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpp01/ex03/ZombieHorde.hpp') 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 +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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 -- cgit