feat: adding overload on the "=" operator
This commit is contained in:
parent
c2c4dccf95
commit
442468e3cf
4 changed files with 14 additions and 4 deletions
|
|
@ -6,15 +6,17 @@
|
|||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/01/30 13:40:30 by rparodi #+# #+# */
|
||||
/* Updated: 2025/01/31 19:53:02 by rparodi ### ########.fr */
|
||||
/* Updated: 2025/02/07 16:04:29 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "Dog.hpp"
|
||||
#include "Brain.hpp"
|
||||
|
||||
Dog::Dog() {
|
||||
std::cout << "[Dog]\t\tCreating the class" << std::endl;
|
||||
type = "Dog";
|
||||
brain = new Brain();
|
||||
}
|
||||
|
||||
Dog::~Dog() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue