aboutsummaryrefslogtreecommitdiff
path: root/week10/Exercise07
diff options
context:
space:
mode:
Diffstat (limited to 'week10/Exercise07')
-rw-r--r--week10/Exercise07/FileString.h.gchbin0 -> 2068739 bytes
-rw-r--r--week10/Exercise07/String.h2
2 files changed, 1 insertions, 1 deletions
diff --git a/week10/Exercise07/FileString.h.gch b/week10/Exercise07/FileString.h.gch
new file mode 100644
index 0000000..09aa698
--- /dev/null
+++ b/week10/Exercise07/FileString.h.gch
Binary files differ
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);