aboutsummaryrefslogtreecommitdiff
path: root/week10/Exercise10/String.h
diff options
context:
space:
mode:
Diffstat (limited to 'week10/Exercise10/String.h')
-rw-r--r--week10/Exercise10/String.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/week10/Exercise10/String.h b/week10/Exercise10/String.h
index 4ae55c0..d63bf96 100644
--- a/week10/Exercise10/String.h
+++ b/week10/Exercise10/String.h
@@ -9,7 +9,7 @@ protected:
public:
String();
- ~String();
+ virtual ~String();
String(const String& other);
String& operator=(const String& other);
String(String&& other);