d04 check leaks and error ok

This commit is contained in:
hugogogo
2022-03-14 18:18:45 +01:00
parent aa6f1c9928
commit 277f92ac93
21 changed files with 22 additions and 307 deletions

View File

@@ -12,7 +12,7 @@ WrongCat::WrongCat() {
return;
}
WrongCat::WrongCat( WrongCat const & src ) {
WrongCat::WrongCat( WrongCat const & src ) : WrongAnimal(src) {
std::cout << COPLIEN_COLOR "WrongCat copy constructor" RESET "\n";
*this = src;
return;