projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64ed39f
)
Devices: Make the destructor virtual on the CopyEnginChannel object.
author
Gabe Black
<gblack@eecs.umich.edu>
Mon, 26 Jan 2009 04:26:53 +0000
(20:26 -0800)
committer
Gabe Black
<gblack@eecs.umich.edu>
Mon, 26 Jan 2009 04:26:53 +0000
(20:26 -0800)
This fixes a compile warning which becomes an error.
src/dev/copy_engine.hh
patch
|
blob
|
history
diff --git
a/src/dev/copy_engine.hh
b/src/dev/copy_engine.hh
index 0224261d9c9107e2ee4e31b03ef7af61ab25b3ce..475c0a5bf8e7a91f7d20f3af492f09b8b6417feb 100644
(file)
--- 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); }