From 2438853723d47b2283876ec0ec7377d83d31567d Mon Sep 17 00:00:00 2001 From: aortigos Date: Mon, 10 Nov 2025 20:49:52 +0100 Subject: [PATCH] WrongCat initialization --- ex01/WrongCat/WrongCat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;