diff options
author | Stephen Hines <hines@cs.fsu.edu> | 2008-02-06 16:32:40 -0500 |
---|---|---|
committer | Stephen Hines <hines@cs.fsu.edu> | 2008-02-06 16:32:40 -0500 |
commit | 6cc1573923754ecb406d03ab4d807f928737c294 (patch) | |
tree | 08e407623fedf71b04b128eb93734d4f51988b36 /src/dev/ethertap.hh | |
parent | 0ccf9a2c3751f160d7d51153ef468a60b4daf8d0 (diff) | |
download | gem5-6cc1573923754ecb406d03ab4d807f928737c294.tar.xz |
Make the Event::description() a const function
--HG--
extra : convert_revision : c7768d54d3f78685e93920069f5485083ca989c0
Diffstat (limited to 'src/dev/ethertap.hh')
-rw-r--r-- | src/dev/ethertap.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dev/ethertap.hh b/src/dev/ethertap.hh index 5c24be460..be3d73a24 100644 --- a/src/dev/ethertap.hh +++ b/src/dev/ethertap.hh @@ -93,7 +93,8 @@ class EtherTap : public EtherObject TxEvent(EtherTap *_tap) : Event(&mainEventQueue), tap(_tap) {} void process() { tap->retransmit(); } - virtual const char *description() { return "EtherTap retransmit"; } + virtual const char *description() const + { return "EtherTap retransmit"; } }; friend class TxEvent; |