Website Summary Files Commits Branches @commit @diff @stats
path: root / week10 / Exercise10
diff options
context:
space:
mode:
Commiteab36a79b85b59fbbff75bf0dd748f877e94962e (patch)
Author
 Syndamia <kamen@syndamia.com>
2024-05-08 19:23:21 +0300
Committer
 Syndamia <kamen@syndamia.com>
2024-05-08 19:23:21 +0300
Files76204f59107ee79c33ab7d4cc00d59dfe242106b /week10/Exercise10
oop-2023-solutions-eab36a79b85b59fbbff75bf0dd748f877e94962e.tar
oop-2023-solutions-eab36a79b85b59fbbff75bf0dd748f877e94962e.tar.gz
oop-2023-solutions-eab36a79b85b59fbbff75bf0dd748f877e94962e.zip
Parent75cff007b4896eed49b758be0959668673ae1bf3 (diff)
[w10] Added forgotten virtual keyword to certain destructors
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);