Website Summary Files Commits Branches @commit @diff @stats
path: root / week11 / Exercise04
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--week11/Exercise04/String.h2
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);