Devices: Make the destructor virtual on the CopyEnginChannel object.
This fixes a compile warning which becomes an error.
This commit is contained in:
parent
64ed39f61b
commit
3f9e2350a1
1 changed files with 1 additions and 1 deletions
|
@ -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); }
|
||||
|
|
Loading…
Reference in a new issue