From 3307987895b089e642c648f7c4a971f2bd985d4f Mon Sep 17 00:00:00 2001 From: hoffmann Date: Thu, 7 Feb 2013 00:51:19 +0000 Subject: [PATCH] Added missing virtual Destructor, fixes gcc warning git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2068 8c4709b5-6ec9-48aa-a5cd-a96041d1645a --- src/core/sal/bochs/BochsCPU.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/sal/bochs/BochsCPU.hpp b/src/core/sal/bochs/BochsCPU.hpp index 0407acab..4d6cf340 100644 --- a/src/core/sal/bochs/BochsCPU.hpp +++ b/src/core/sal/bochs/BochsCPU.hpp @@ -28,6 +28,10 @@ public: */ BochsCPU(unsigned int id) : m_Id(id) { } /** + * Virtual Destructor is required. + */ + virtual ~BochsCPU() { } + /** * Retrieves the content of the register \c reg. * @param reg the register pointer of interest (cannot be \c NULL) * @return the content of the register \c reg