changeset 6973fc63ff0e in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=6973fc63ff0e
description:
Devices: Make the destructor virtual on the CopyEnginChannel object.
This fixes a compile warning which becomes an error.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/dev/copy_engine.hh | 2 +-
diffs (12 lines):
diff -r baf5d5c96c68 -r 6973fc63ff0e src/dev/copy_engine.hh
--- a/src/dev/copy_engine.hh Sat Jan 24 07:27:22 2009 -0800
+++ b/src/dev/copy_engine.hh Sun Jan 25 20:26:53 2009 -0800
@@ -81,7 +81,7 @@
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); }
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev