fix define exeption of Form and not of Bureaucrat
This commit is contained in:
		@ -82,12 +82,12 @@ std::ostream& operator<<(std::ostream& os, const Form& src)
 | 
			
		||||
	return os;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const char* Bureaucrat::GradeTooLowException::what() const throw()
 | 
			
		||||
const char* Form::GradeTooLowException::what() const throw()
 | 
			
		||||
{
 | 
			
		||||
	return "grade is to low";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const char* Bureaucrat::GradeTooHighException::what() const throw()
 | 
			
		||||
const char* Form::GradeTooHighException::what() const throw()
 | 
			
		||||
{
 | 
			
		||||
	return "grade is to high";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user