aboutsummaryrefslogtreecommitdiff
path: root/cpp04/ex03/AMateria.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp04/ex03/AMateria.hpp')
-rw-r--r--cpp04/ex03/AMateria.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp04/ex03/AMateria.hpp b/cpp04/ex03/AMateria.hpp
index 65d5cc5..7fef1c8 100644
--- a/cpp04/ex03/AMateria.hpp
+++ b/cpp04/ex03/AMateria.hpp
@@ -6,7 +6,7 @@
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/14 16:24:00 by charles #+# #+# */
-/* Updated: 2020/04/14 17:55:18 by charles ### ########.fr */
+/* Updated: 2020/11/12 15:41:54 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -16,11 +16,13 @@
# include <string>
# include "ICharacter.hpp"
+class ICharacter;
+
class AMateria
{
public:
AMateria(AMateria const& other);
- void operator=(AMateria const& other);
+ AMateria& operator=(AMateria const& other);
virtual ~AMateria();
AMateria(std::string const& type);