aboutsummaryrefslogtreecommitdiff
path: root/cpp04/ex03/ICharacter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp04/ex03/ICharacter.hpp')
-rw-r--r--cpp04/ex03/ICharacter.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp04/ex03/ICharacter.hpp b/cpp04/ex03/ICharacter.hpp
index ea56d47..bb84d7e 100644
--- a/cpp04/ex03/ICharacter.hpp
+++ b/cpp04/ex03/ICharacter.hpp
@@ -6,7 +6,7 @@
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/14 16:40:25 by charles #+# #+# */
-/* Updated: 2020/04/14 17:55:14 by charles ### ########.fr */
+/* Updated: 2020/11/12 15:42:12 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -16,6 +16,8 @@
# include <string>
# include "AMateria.hpp"
+class IMateria;
+
class ICharacter
{
public:
@@ -28,7 +30,7 @@ public:
protected:
ICharacter();
ICharacter(ICharacter const& other);
- void operator=(ICharacter const& other);
+ ICharacter& operator=(ICharacter const& other);
};
#endif