From 011b79fcb61e5602cb436897bfddee9befb7ddeb Mon Sep 17 00:00:00 2001 From: Camille Chauvet Date: Sun, 3 Sep 2023 11:25:44 +0000 Subject: [PATCH] fix define exeption of Form and not of Bureaucrat --- ex01/src/Form.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ex01/src/Form.cpp b/ex01/src/Form.cpp index 7c45701..2b1d92a 100644 --- a/ex01/src/Form.cpp +++ b/ex01/src/Form.cpp @@ -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"; }