diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-01-25 20:26:53 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-01-25 20:26:53 -0800 |
commit | 3f9e2350a1c909f141c09bb409a381957853678c (patch) | |
tree | f850e80c9173203b415eed47d5d6c6ead5713758 /src | |
parent | 64ed39f61b89675237e145ed4a81b49f353921ed (diff) | |
download | gem5-3f9e2350a1c909f141c09bb409a381957853678c.tar.xz |
Devices: Make the destructor virtual on the CopyEnginChannel object.
This fixes a compile warning which becomes an error.
Diffstat (limited to 'src')
-rw-r--r-- | src/dev/copy_engine.hh | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |