aboutsummaryrefslogtreecommitdiff
path: root/cpp05/ex03/Form.hpp
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-12-12 12:33:39 +0100
committerCharles Cabergs <me@cacharle.xyz>2020-12-12 12:33:39 +0100
commit0071b1e944cbce91ff6ff8e235280c3955ce1d5b (patch)
treeaf908c41fc051002311f50e8f73b889769a5279e /cpp05/ex03/Form.hpp
parentc10aa969c60cedef893146307fa319250901465a (diff)
downloadpiscine_cpp-0071b1e944cbce91ff6ff8e235280c3955ce1d5b.tar.gz
piscine_cpp-0071b1e944cbce91ff6ff8e235280c3955ce1d5b.tar.bz2
piscine_cpp-0071b1e944cbce91ff6ff8e235280c3955ce1d5b.zip
Fixing cpp05 small errors
Diffstat (limited to 'cpp05/ex03/Form.hpp')
-rw-r--r--cpp05/ex03/Form.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp05/ex03/Form.hpp b/cpp05/ex03/Form.hpp
index 78828da..79e78fa 100644
--- a/cpp05/ex03/Form.hpp
+++ b/cpp05/ex03/Form.hpp
@@ -6,7 +6,7 @@
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/14 19:19:45 by charles #+# #+# */
-/* Updated: 2020/11/17 17:09:15 by charles ### ########.fr */
+/* Updated: 2020/12/12 12:20:25 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -24,7 +24,7 @@ class Form
public:
Form(Form const& other);
Form& operator=(Form const& other);
- ~Form();
+ virtual ~Form();
Form(std::string const& name, int gradeSign, int gradeExecute);
@@ -34,7 +34,6 @@ public:
int getGradeExecute() const;
void beSigned(Bureaucrat const& b);
-
void execute(Bureaucrat const& executor) const;
protected: