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