aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex02/ZombieEvent.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp01/ex02/ZombieEvent.hpp')
-rw-r--r--cpp01/ex02/ZombieEvent.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp01/ex02/ZombieEvent.hpp b/cpp01/ex02/ZombieEvent.hpp
index 7b2fe79..0d0e0ec 100644
--- a/cpp01/ex02/ZombieEvent.hpp
+++ b/cpp01/ex02/ZombieEvent.hpp
@@ -6,7 +6,7 @@
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/13 09:42:36 by charles #+# #+# */
-/* Updated: 2020/04/13 09:45:36 by charles ### ########.fr */
+/* Updated: 2020/11/09 10:10:57 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -20,8 +20,8 @@
class ZombieEvent
{
public:
- void setZombieType(std::string type);
- Zombie* newZombie(std::string name);
+ void setZombieType(std::string const& type);
+ Zombie* newZombie(std::string name); // subject prototype without const&
Zombie* randomChump();
private: