From 0071b1e944cbce91ff6ff8e235280c3955ce1d5b Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sat, 12 Dec 2020 12:33:39 +0100 Subject: Fixing cpp05 small errors --- cpp05/ex03/Bureaucrat.hpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'cpp05/ex03/Bureaucrat.hpp') diff --git a/cpp05/ex03/Bureaucrat.hpp b/cpp05/ex03/Bureaucrat.hpp index 8e44af0..1c7c565 100644 --- a/cpp05/ex03/Bureaucrat.hpp +++ b/cpp05/ex03/Bureaucrat.hpp @@ -6,7 +6,7 @@ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/14 18:04:32 by charles #+# #+# */ -/* Updated: 2020/11/17 13:36:56 by cacharle ### ########.fr */ +/* Updated: 2020/12/12 12:19:51 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -33,16 +33,15 @@ public: void incrementGrade(); void decrementGrade(); - void signForm(Form& form); - - void executeForm(Form& form); + void signForm(Form& form) const; + void executeForm(Form const& form) const; private: Bureaucrat(); void checkGrade(); - std::string m_name; - int m_grade; + std::string const m_name; + int m_grade; class GradeTooHighException : public std::exception { -- cgit