diff --git a/ex02/src/WrongCat.cpp b/ex02/src/WrongCat.cpp index 5dd473c..9c3573b 100644 --- a/ex02/src/WrongCat.cpp +++ b/ex02/src/WrongCat.cpp @@ -22,3 +22,8 @@ WrongCat::WrongCat(const WrongCat& src): WrongAnimal() { *this = src; } + +void WrongCat::makeSound() const +{ + std::cout << "Meow Meow !" << std::endl; +} diff --git a/ex02/src/WrongCat.hpp b/ex02/src/WrongCat.hpp index e2b6f10..c05d596 100644 --- a/ex02/src/WrongCat.hpp +++ b/ex02/src/WrongCat.hpp @@ -11,4 +11,6 @@ class WrongCat : public WrongAnimal WrongCat &operator=(const WrongCat& src); WrongCat(); ~WrongCat(); + + void makeSound() const; };