feat: adding the operator '='

This commit is contained in:
Raphael 2025-02-10 11:13:57 +01:00
parent a909970d76
commit 2fc4472427
6 changed files with 37 additions and 6 deletions

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/20 23:13:16 by rparodi #+# #+# */
/* Updated: 2025/02/10 10:28:51 by rparodi ### ########.fr */
/* Updated: 2025/02/10 11:10:58 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
@ -21,6 +21,7 @@ class FragTrap: public ClapTrap {
FragTrap();
FragTrap(FragTrap const &copy);
FragTrap(std::string name);
FragTrap& operator=(FragTrap &assign);
~FragTrap();
void highFivesGuys(void);
protected: