From 331c3596660fed6c8b04fdfd0a89435ccffaaf20 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Tue, 17 Nov 2020 13:52:48 +0100 Subject: Fixing cpp05/ex00-02 --- cpp05/ex02/RobotomyRequestForm.hpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'cpp05/ex02/RobotomyRequestForm.hpp') diff --git a/cpp05/ex02/RobotomyRequestForm.hpp b/cpp05/ex02/RobotomyRequestForm.hpp index 5a722de..a851b04 100644 --- a/cpp05/ex02/RobotomyRequestForm.hpp +++ b/cpp05/ex02/RobotomyRequestForm.hpp @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/10/19 13:43:37 by cacharle #+# #+# */ -/* Updated: 2020/10/19 13:44:17 by cacharle ### ########.fr */ +/* Updated: 2020/11/17 13:27:32 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -18,12 +18,17 @@ class RobotomyRequestForm : public Form { public: - RobotomyRequestForm(); RobotomyRequestForm(const RobotomyRequestForm& other); RobotomyRequestForm& operator=(const RobotomyRequestForm& other); ~RobotomyRequestForm(); + RobotomyRequestForm(std::string const& target); + private: + RobotomyRequestForm(); + virtual void executeUnsafe() const; + + std::string m_target; }; #endif -- cgit