Devices: Make the destructor virtual on the CopyEnginChannel object.

This fixes a compile warning which becomes an error.
This commit is contained in:
Gabe Black 2009-01-25 20:26:53 -08:00
parent 64ed39f61b
commit 3f9e2350a1

View file

@ -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); }