diff options
Diffstat (limited to 'week10/Exercise07/String.h')
| -rw-r--r-- | week10/Exercise07/String.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/week10/Exercise07/String.h b/week10/Exercise07/String.h index 3ea986a..c622f5b 100644 --- a/week10/Exercise07/String.h +++ b/week10/Exercise07/String.h @@ -12,7 +12,7 @@ public: String(const char* str); String(); - ~String(); + virtual ~String(); String(const String& other); String& operator=(const String& other); String(String&& other); |
