「✨」 feat(Ex01): Finished
This commit is contained in:
@ -6,13 +6,13 @@
|
||||
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/12/01 19:49:11 by adjoly #+# #+# */
|
||||
/* Updated: 2024/12/04 13:49:51 by adjoly ### ########.fr */
|
||||
/* Updated: 2024/12/06 15:55:37 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "WrongCat.hpp"
|
||||
|
||||
WrongCat::WrongCat(void) : Animal("WrongCat"){
|
||||
WrongCat::WrongCat(void) : WrongAnimal("WrongCat"){
|
||||
log("➕", "WrongCat", "", "construtor called");
|
||||
}
|
||||
|
||||
@ -20,7 +20,7 @@ WrongCat::~WrongCat(void) {
|
||||
log("➖", "WrongCat", "", "destructor called");
|
||||
}
|
||||
|
||||
WrongCat::WrongCat(const WrongCat &cpy) : Animal("WrongCat"){
|
||||
WrongCat::WrongCat(const WrongCat &cpy) : WrongAnimal("WrongCat"){
|
||||
log("➕", "WrongCat", _type, "copy construtor called");
|
||||
*this = cpy;
|
||||
}
|
||||
|
Reference in New Issue
Block a user