summaryrefslogtreecommitdiffstats
path: root/labb4/Unit.h
diff options
context:
space:
mode:
Diffstat (limited to 'labb4/Unit.h')
-rw-r--r--labb4/Unit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/labb4/Unit.h b/labb4/Unit.h
index 65e5db0..b092e39 100644
--- a/labb4/Unit.h
+++ b/labb4/Unit.h
@@ -16,6 +16,7 @@ public:
Unit();
Unit(const Unit& u);
Unit(const Point& p);
+ virtual ~Unit() = default;
/*
* Return Point representation of Unit