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,7 +6,7 @@
|
|||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/01/28 17:44:51 by rparodi #+# #+# */
|
||||
/* Updated: 2025/01/31 18:24:07 by rparodi ### ########.fr */
|
||||
/* Updated: 2025/02/07 17:51:39 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -14,6 +14,7 @@
|
|||
#define DOG_HPP
|
||||
|
||||
#include "Animal.hpp"
|
||||
#include "Brain.hpp"
|
||||
#include <string>
|
||||
|
||||
class Dog : public Animal {
|
||||
|
|
@ -24,6 +25,7 @@ class Dog : public Animal {
|
|||
protected:
|
||||
|
||||
private:
|
||||
Brain *brain;
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue