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/ex04/FragTrap.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'cpp03/ex04/FragTrap.hpp') diff --git a/cpp03/ex04/FragTrap.hpp b/cpp03/ex04/FragTrap.hpp index 283b219..8e9de1b 100644 --- a/cpp03/ex04/FragTrap.hpp +++ b/cpp03/ex04/FragTrap.hpp @@ -6,26 +6,30 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/22 05:17:16 by cacharle #+# #+# */ -/* Updated: 2020/11/11 07:04:32 by cacharle ### ########.fr */ +/* Updated: 2020/11/12 09:14:11 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef FRAGTRAP_HPP # define FRAGTRAP_HPP +# include +# include # include # include "ClapTrap.hpp" class FragTrap : virtual public ClapTrap { public: - FragTrap(); FragTrap(std::string const& name); FragTrap(FragTrap const& other); FragTrap& operator=(FragTrap const& other); ~FragTrap(); void vaulthunter_dot_exe(std::string const& target); + +protected: + FragTrap(); }; #endif -- cgit