d04 check leaks and error ok
This commit is contained in:
@@ -12,7 +12,7 @@ Dog::Dog() {
|
||||
return;
|
||||
}
|
||||
|
||||
Dog::Dog( Dog const & src ) {
|
||||
Dog::Dog( Dog const & src ) : Animal(src) {
|
||||
std::cout << COPLIEN_COLOR "Dog copy constructor" RESET "\n";
|
||||
*this = src;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user