aboutsummaryrefslogtreecommitdiff
path: root/week13/Exercise2
diff options
context:
space:
mode:
Diffstat (limited to 'week13/Exercise2')
-rw-r--r--week13/Exercise2/Container.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/week13/Exercise2/Container.hpp b/week13/Exercise2/Container.hpp
index ace942f..5d6876d 100644
--- a/week13/Exercise2/Container.hpp
+++ b/week13/Exercise2/Container.hpp
@@ -11,7 +11,7 @@ protected:
public:
Container();
- ~Container();
+ virtual ~Container();
Container(const Container& other);
Container& operator=(const Container& other);
Container(Container&& other);