From 85d236b3c00fd299ec37021ccbd82fce3a14a74c Mon Sep 17 00:00:00 2001 From: adjoly Date: Tue, 8 Apr 2025 09:23:47 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=94=A8=E3=80=8D=20fix:=20fixed?= =?UTF-8?q?=20skill=20issue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ex00/Bureaucrat.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/ex00/Bureaucrat.cpp b/ex00/Bureaucrat.cpp index d618223..e35c10e 100644 --- a/ex00/Bureaucrat.cpp +++ b/ex00/Bureaucrat.cpp @@ -6,12 +6,11 @@ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/12/23 13:59:45 by adjoly #+# #+# */ -/* Updated: 2025/04/01 10:49:43 by adjoly ### ########.fr */ +/* Updated: 2025/04/07 14:39:37 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ #include "Bureaucrat.hpp" -#include "Form.hpp" #include void _log(std::string emoji, std::string what, std::string who, @@ -100,12 +99,3 @@ const char *Bureaucrat::GradeTooHighException::what() const throw() { const char *Bureaucrat::GradeTooLowException::what() const throw() { return ("Grade is too low"); } - -void Bureaucrat::signForm(Form &f) { - try { - f.beSigned(*this); - std::cout << _name << " signed " << f.getName() << std::endl; - } catch (std::exception &e) { - std::cout << _name << " counldn't sign " << f.getName() << " because " << e.what() << std::endl; - } -}