From c3028edebab1d021d2d95a26beea3ccd58a4e28f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Tue, 10 Nov 2020 15:33:34 +0100 Subject: default destructors --- labb4/Unit.h | 1 + 1 file changed, 1 insertion(+) (limited to 'labb4/Unit.h') 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 -- cgit v1.2.1