aboutsummaryrefslogtreecommitdiff
path: root/week11/Exercise04
diff options
context:
space:
mode:
Diffstat (limited to 'week11/Exercise04')
-rw-r--r--week11/Exercise04/String.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/week11/Exercise04/String.h b/week11/Exercise04/String.h
index 13481a0..bf7e77a 100644
--- a/week11/Exercise04/String.h
+++ b/week11/Exercise04/String.h
@@ -8,7 +8,7 @@ class String {
public:
String();
- ~String();
+ virtual ~String();
String(const String& other);
String& operator=(const String& other);
String(String&& other);