Removed isSigned param when initializing Form, because it should always start as FALSE
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user