SimObjects: Clean up handling of C++ namespaces.
[gem5.git] / src / dev / ethertap.hh
index 5c24be460fd64428f8393a2f083b1a72dbb44e87..ac287cecbb3b21f5ebfd38fbe03e5bed04f550f3 100644 (file)
@@ -90,10 +90,10 @@ class EtherTap : public EtherObject
         EtherTap *tap;
 
       public:
-        TxEvent(EtherTap *_tap)
-            : Event(&mainEventQueue), tap(_tap) {}
+        TxEvent(EtherTap *_tap) : tap(_tap) {}
         void process() { tap->retransmit(); }
-        virtual const char *description() { return "EtherTap retransmit"; }
+        virtual const char *description() const
+            { return "EtherTap retransmit"; }
     };
 
     friend class TxEvent;