From 3f9e2350a1c909f141c09bb409a381957853678c Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 25 Jan 2009 20:26:53 -0800 Subject: Devices: Make the destructor virtual on the CopyEnginChannel object. This fixes a compile warning which becomes an error. --- src/dev/copy_engine.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dev/copy_engine.hh') diff --git a/src/dev/copy_engine.hh b/src/dev/copy_engine.hh index 0224261d9..475c0a5bf 100644 --- a/src/dev/copy_engine.hh +++ b/src/dev/copy_engine.hh @@ -81,7 +81,7 @@ class CopyEngine : public PciDev Event *drainEvent; public: CopyEngineChannel(CopyEngine *_ce, int cid); - ~CopyEngineChannel(); + virtual ~CopyEngineChannel(); void init(); std::string name() { assert(ce); return ce->name() + csprintf("-chan%d", channelId); } -- cgit v1.2.3