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 @@ Cat::Cat() {
return;
}
Cat::Cat( Cat const & src ) {
Cat::Cat( Cat const & src ) : Animal(src) {
std::cout << COPLIEN_COLOR "Cat copy constructor" RESET "\n";
*this = src;
return;