style: remove tab on wrong cat to align all message
This commit is contained in:
parent
5e999def3a
commit
56057784a8
3 changed files with 9 additions and 9 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2025/02/18 16:22:05 by rparodi #+# #+# */
|
/* Created: 2025/02/18 16:22:05 by rparodi #+# #+# */
|
||||||
/* Updated: 2025/02/18 16:53:06 by rparodi ### ########.fr */
|
/* Updated: 2025/02/18 20:21:16 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -14,12 +14,12 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
WrongCat::WrongCat() {
|
WrongCat::WrongCat() {
|
||||||
std::cout << "[WrongCat]\t\tCreating WrongCat class" << std::endl;
|
std::cout << "[WrongCat]\tCreating WrongCat class" << std::endl;
|
||||||
type = "WrongCat";
|
type = "WrongCat";
|
||||||
}
|
}
|
||||||
|
|
||||||
WrongCat::WrongCat(WrongCat const & copy) {
|
WrongCat::WrongCat(WrongCat const & copy) {
|
||||||
std::cout << "[WrongCat]\t\tCreating WrongCat class (copy)" << std::endl;
|
std::cout << "[WrongCat]\tCreating WrongCat class (copy)" << std::endl;
|
||||||
this->type = copy.type;
|
this->type = copy.type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -30,9 +30,9 @@ WrongCat & WrongCat::operator=(WrongCat const & assign) {
|
||||||
}
|
}
|
||||||
|
|
||||||
WrongCat::~WrongCat() {
|
WrongCat::~WrongCat() {
|
||||||
std::cout << "[WrongCat]\t\tDeleting WrongCat class" << std::endl;
|
std::cout << "[WrongCat]\tDeleting WrongCat class" << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
void WrongCat::makeSound() const {
|
void WrongCat::makeSound() const {
|
||||||
std::cout << "[WrongCat]\t\t🐱 | Wouf wouf" << std::endl;
|
std::cout << "[WrongCat]\t🐱 | Wouf wouf" << std::endl;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2025/02/18 16:22:05 by rparodi #+# #+# */
|
/* Created: 2025/02/18 16:22:05 by rparodi #+# #+# */
|
||||||
/* Updated: 2025/02/18 17:17:44 by rparodi ### ########.fr */
|
/* Updated: 2025/02/18 20:21:16 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -24,7 +24,7 @@ WrongCat::WrongCat(WrongCat const & copy) {
|
||||||
}
|
}
|
||||||
|
|
||||||
WrongCat & WrongCat::operator=(WrongCat const & assign) {
|
WrongCat & WrongCat::operator=(WrongCat const & assign) {
|
||||||
std::cout << "[WrongCat]\tCreating WrongCat class (assign)" << std::endl;
|
std::cout << "[WrongCat]\t\tCreating WrongCat class (assign)" << std::endl;
|
||||||
this->type = assign.type;
|
this->type = assign.type;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2025/02/18 16:22:05 by rparodi #+# #+# */
|
/* Created: 2025/02/18 16:22:05 by rparodi #+# #+# */
|
||||||
/* Updated: 2025/02/18 17:17:44 by rparodi ### ########.fr */
|
/* Updated: 2025/02/18 20:21:16 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -24,7 +24,7 @@ WrongCat::WrongCat(WrongCat const & copy) {
|
||||||
}
|
}
|
||||||
|
|
||||||
WrongCat & WrongCat::operator=(WrongCat const & assign) {
|
WrongCat & WrongCat::operator=(WrongCat const & assign) {
|
||||||
std::cout << "[WrongCat]\tCreating WrongCat class (assign)" << std::endl;
|
std::cout << "[WrongCat]\t\tCreating WrongCat class (assign)" << std::endl;
|
||||||
this->type = assign.type;
|
this->type = assign.type;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue