From 01862f6b40c0f8fbc0123f1ac5140a406c268251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Tue, 10 Nov 2020 13:42:50 +0100 Subject: destructor and copy assignment operator --- labb4/Robot.h | 1 + 1 file changed, 1 insertion(+) (limited to 'labb4/Robot.h') diff --git a/labb4/Robot.h b/labb4/Robot.h index cf05fab..6f68e9b 100644 --- a/labb4/Robot.h +++ b/labb4/Robot.h @@ -12,6 +12,7 @@ class Robot : public Unit { public: Robot(); + virtual ~Robot() {}; virtual void draw(QGraphicsScene* scene) const; virtual void moveTowards(const Unit& u); -- cgit v1.2.1