aboutsummaryrefslogtreecommitdiff
path: root/cpp04/ex03/Cure.cpp
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-11-15 17:24:46 +0100
committerCharles Cabergs <me@cacharle.xyz>2020-11-15 17:24:46 +0100
commit62be117da22b5159c8712537ac7ef135ff3007b8 (patch)
tree2a0447d54264465db0878fe19160759220043672 /cpp04/ex03/Cure.cpp
parent4c30e98f4a4018a25d3a9f3ee790d589be803cb0 (diff)
downloadpiscine_cpp-62be117da22b5159c8712537ac7ef135ff3007b8.tar.gz
piscine_cpp-62be117da22b5159c8712537ac7ef135ff3007b8.tar.bz2
piscine_cpp-62be117da22b5159c8712537ac7ef135ff3007b8.zip
Fixing cpp04/03 crash
Diffstat (limited to 'cpp04/ex03/Cure.cpp')
-rw-r--r--cpp04/ex03/Cure.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp04/ex03/Cure.cpp b/cpp04/ex03/Cure.cpp
index dc464ff..f109023 100644
--- a/cpp04/ex03/Cure.cpp
+++ b/cpp04/ex03/Cure.cpp
@@ -6,7 +6,7 @@
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/14 17:38:01 by charles #+# #+# */
-/* Updated: 2020/11/13 14:09:58 by cacharle ### ########.fr */
+/* Updated: 2020/11/15 17:21:10 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -14,7 +14,7 @@
Cure::Cure() : AMateria("cure") {}
-Cure::Cure(Cure const& other) { *this = other; }
+Cure::Cure(Cure const& other) : AMateria("cure") { *this = other; }
Cure& Cure::operator=(Cure const& other)
{