From 4bd2f14be703e4fdb32a26e52f38fa93afcb2b43 Mon Sep 17 00:00:00 2001 From: adjoly Date: Wed, 9 Apr 2025 16:20:55 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=94=A8=E3=80=8D=20fix:=20added?= =?UTF-8?q?=20some=20test=20on=20ex02?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ex02/main.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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;