「🔨」 fix: fixed Form class from ex01

This commit is contained in:
KeyZox committed 2025-04-01 11:09:10 +02:00
1 parent d56e8011de
commit 9e85ca79d9
16 files changed
+204 -74

No files matched your search

+3 -3
View File
@@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/12/23 13:59:45 by adjoly #+# #+# */
/* Updated: 2025/03/30 15:13:43 by adjoly ### ########.fr */
/* Updated: 2025/04/01 10:49:43 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@@ -42,8 +42,8 @@ Bureaucrat::Bureaucrat(std::string name, uint8_t grade)
_log("➕", "Bureaucrat", "", "constructor called");
}
const std::string &Bureaucrat::getName(void) { return _name; }
uint8_t Bureaucrat::getGrade(void) { return _grade; }
const std::string &Bureaucrat::getName(void) const { return _name; }
uint8_t Bureaucrat::getGrade(void) const { return _grade; }
Bureaucrat::~Bureaucrat(void) {
_log("➖", "Bureaucrat", "", "destructor called");