diff --git a/ex01/WrongCat/WrongCat.cpp b/ex01/WrongCat/WrongCat.cpp index 757a725..26045bc 100644 --- a/ex01/WrongCat/WrongCat.cpp +++ b/ex01/WrongCat/WrongCat.cpp @@ -23,7 +23,7 @@ WrongCat::~WrongCat() std::cout << "Cat has been destroyed" << std::endl; } -WrongCat::WrongCat(const WrongCat &other) +WrongCat::WrongCat(const WrongCat &other) : WrongAnimal(other) { std::cout << "WrongCat copied" << std::endl; *this = other;