d04 check leaks and error ok
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user