ajout ex03 et correction dump core

This commit is contained in:
Hugo LAMY
2022-03-17 11:12:31 +01:00
parent bac6161af8
commit 5f090531bc
20 changed files with 1053 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ ShrubberyCreationForm::ShrubberyCreationForm( std::string target )
}
ShrubberyCreationForm::ShrubberyCreationForm( ShrubberyCreationForm const & src )
: AForm("shrubbery_creation", this->getTarget(), 145, 137) {
: AForm("shrubbery_creation", src.getTarget(), 145, 137) {
std::cout << COPLIEN_COLOR "ShrubberyCreationForm copy constructor" RESET "\n";
*this = src;
return;