Removed isSigned param when initializing Form, because it should always start as FALSE

This commit is contained in:
2026-02-17 16:30:19 +01:00
parent 44c8e30732
commit 838b97e98a
4 changed files with 7 additions and 10 deletions

View File

@@ -31,7 +31,7 @@ class AForm
AForm& operator=(const AForm &other);
~AForm();
AForm(std::string name, bool isSigned, int gradeToSign, int gradeToExecute);
AForm(std::string name, int gradeToSign, int gradeToExecute);
std::string getName() const;
bool getIsSigned() const;
@@ -40,6 +40,8 @@ class AForm
void beSigned(const Bureaucrat &br);
virtual void execute(Bureaucrat const &executor) = 0;
class GradeTooLowException : public std::exception {
public:
virtual const char *what() const throw();