fix define exeption of Form and not of Bureaucrat
This commit is contained in:
parent
fc26d965f0
commit
011b79fcb6
@ -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";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user