Removed isSigned param when initializing Form, because it should always start as FALSE

This commit is contained in:
2026-02-17 16:30:19 +01:00
parent 44c8e30732
commit 838b97e98a
4 changed files with 7 additions and 10 deletions

View File

@@ -6,7 +6,7 @@
/* By: hadi <hadi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/02/16 22:32:41 by hadi #+# #+# */
/* Updated: 2026/02/17 09:56:07 by hadi ### ########.fr */
/* Updated: 2026/02/17 16:24:37 by hadi ### ########.fr */
/* */
/* ************************************************************************** */
@@ -18,12 +18,7 @@ int main()
std::cout << "---- ex01 tests ----" << std::endl;
try {
AForm form("AngelForm", false, 139, 5);
Bureaucrat angel("Angel", 140);
std::cout << form << std::endl;
angel.signForm(form);
std::cout << form << std::endl;
} catch (std::exception &e) {
std::cout << e.what() << std::endl;