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 @@ RobotomyRequestForm::RobotomyRequestForm( std::string target )
}
RobotomyRequestForm::RobotomyRequestForm( RobotomyRequestForm const & src )
: AForm("robotomy_creation", this->getTarget(), 72, 45) {
: AForm("robotomy_creation", src.getTarget(), 72, 45) {
std::cout << COPLIEN_COLOR "RobotomyRequestForm copy constructor" RESET "\n";
*this = src;
return;