Output messages fixed

This commit is contained in:
2025-11-21 11:42:22 +01:00
parent 45fd66c71c
commit d4d8891a6b
2 changed files with 6 additions and 6 deletions

View File

@@ -6,7 +6,7 @@
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/11/21 11:38:27 by aortigos #+# #+# */
/* Updated: 2025/11/21 11:38:49 by aortigos ### ########.fr */
/* Updated: 2025/11/21 11:40:44 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
@@ -14,13 +14,13 @@
WrongCat::WrongCat() : WrongAnimal()
{
std::cout << "Cat has been created" << std::endl;
std::cout << "WrongCat has been created" << std::endl;
this->type = "WrongCat";
}
WrongCat::~WrongCat()
{
std::cout << "Cat has been destroyed" << std::endl;
std::cout << "WrongCat has been destroyed" << std::endl;
}
WrongCat::WrongCat(const WrongCat &other) : WrongAnimal(other)