fix define exeption of Form and not of Bureaucrat

This commit is contained in:
Camille Chauvet 2023-09-03 11:25:44 +00:00
parent fc26d965f0
commit 011b79fcb6

View File

@ -82,12 +82,12 @@ std::ostream& operator<<(std::ostream& os, const Form& src)
return os; return os;
} }
const char* Bureaucrat::GradeTooLowException::what() const throw() const char* Form::GradeTooLowException::what() const throw()
{ {
return "grade is to low"; return "grade is to low";
} }
const char* Bureaucrat::GradeTooHighException::what() const throw() const char* Form::GradeTooHighException::what() const throw()
{ {
return "grade is to high"; return "grade is to high";
} }