diff --git a/cpp05/ex02/ShrubberyCreationForm.cpp b/cpp05/ex02/ShrubberyCreationForm.cpp index 3119621..b2ba03c 100644 --- a/cpp05/ex02/ShrubberyCreationForm.cpp +++ b/cpp05/ex02/ShrubberyCreationForm.cpp @@ -6,7 +6,7 @@ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/03/18 18:05:02 by rparodi #+# #+# */ -/* Updated: 2025/03/19 15:52:44 by rparodi ### ########.fr */ +/* Updated: 2025/03/19 20:25:27 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ @@ -64,5 +64,6 @@ void ShrubberyCreationForm::execute(Bureaucrat const &executor) const { "_- - | | _- _" << std::endl << \ " _ - | | -_" << std::endl << \ " // \\\\" << std::endl << std::endl; + file.close(); } } diff --git a/cpp05/ex03/ShrubberyCreationForm.cpp b/cpp05/ex03/ShrubberyCreationForm.cpp index db9b4d8..a668bcd 100644 --- a/cpp05/ex03/ShrubberyCreationForm.cpp +++ b/cpp05/ex03/ShrubberyCreationForm.cpp @@ -6,7 +6,7 @@ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/03/18 18:05:02 by rparodi #+# #+# */ -/* Updated: 2025/03/19 15:52:44 by rparodi ### ########.fr */ +/* Updated: 2025/03/19 20:24:45 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ @@ -64,5 +64,6 @@ void ShrubberyCreationForm::execute(Bureaucrat const &executor) const { "_- - | | _- _" << std::endl << \ " _ - | | -_" << std::endl << \ " // \\\\" << std::endl << std::endl; + file.close(); } }