From 96dcf214a8c40529b251ea31ef037868583dd1da Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Thu, 12 Nov 2020 10:54:47 +0100 Subject: Fixing cpp03, moved more common logic in ClapTrap, Added better main --- cpp03/ex03/NinjaTrap.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cpp03/ex03/NinjaTrap.hpp') diff --git a/cpp03/ex03/NinjaTrap.hpp b/cpp03/ex03/NinjaTrap.hpp index d075dba..db73de2 100644 --- a/cpp03/ex03/NinjaTrap.hpp +++ b/cpp03/ex03/NinjaTrap.hpp @@ -6,7 +6,7 @@ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/13 17:31:24 by charles #+# #+# */ -/* Updated: 2020/11/10 14:43:01 by cacharle ### ########.fr */ +/* Updated: 2020/11/12 08:48:34 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -20,7 +20,6 @@ class NinjaTrap : public ClapTrap { public: - NinjaTrap(); NinjaTrap(std::string const& name); NinjaTrap(NinjaTrap const& other); NinjaTrap& operator=(NinjaTrap const& other); @@ -30,6 +29,9 @@ public: void ninjaShoebox(FragTrap const& target); void ninjaShoebox(ScavTrap const& target); void ninjaShoebox(ClapTrap const& target); + +private: + NinjaTrap(); }; #endif -- cgit