diff --git a/Machines/AmstradCPC/AmstradCPC.cpp b/Machines/AmstradCPC/AmstradCPC.cpp index d58273fbe..328c233c3 100644 --- a/Machines/AmstradCPC/AmstradCPC.cpp +++ b/Machines/AmstradCPC/AmstradCPC.cpp @@ -881,3 +881,5 @@ using namespace AmstradCPC; Machine *Machine::AmstradCPC() { return new AmstradCPC::ConcreteMachine; } + +Machine::~Machine() {} diff --git a/Machines/AmstradCPC/AmstradCPC.hpp b/Machines/AmstradCPC/AmstradCPC.hpp index 50ddeeda3..91c29e69f 100644 --- a/Machines/AmstradCPC/AmstradCPC.hpp +++ b/Machines/AmstradCPC/AmstradCPC.hpp @@ -52,6 +52,8 @@ class Machine: public ConfigurationTarget::Machine, public KeyboardMachine::Machine { public: + virtual ~Machine(); + /// Creates an returns an Amstrad CPC on the heap. static Machine *AmstradCPC();