diff --git a/ex02/main.cpp b/ex02/main.cpp index c88deac..f165471 100644 --- a/ex02/main.cpp +++ b/ex02/main.cpp @@ -6,7 +6,7 @@ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/12/23 14:01:11 by adjoly #+# #+# */ -/* Updated: 2025/04/03 15:49:50 by adjoly ### ########.fr */ +/* Updated: 2025/04/09 16:20:39 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ @@ -40,14 +40,13 @@ int main(void) { knl++; knl++; knl++; - } catch (const std::exception &e) { - std::cerr << "Error : " << e.what() << std::endl; + } catch (const std::exception &) { } ShrubberyCreationForm s; try { - s.beSigned(knl); + knl.signForm(s); } catch (std::exception &e) { knl.executeForm(s); std::cerr << "Error : " << e.what() << std::endl;