base: Fix gpu-compute output stream creation
[gem5.git] / src / cpu / quiesce_event.hh
index 3de40f97ea5c10ea2ee2bc41963d9808813a8fa9..74db27481f139d37d6a5a37eea0ae909b8efd06b 100644 (file)
@@ -36,8 +36,9 @@
 class ThreadContext;
 
 /** Event for timing out quiesce instruction */
-struct EndQuiesceEvent : public Event
+class EndQuiesceEvent : public Event
 {
+  public:
     /** A pointer to the thread context that is quiesced */
     ThreadContext *tc;
 
@@ -47,7 +48,7 @@ struct EndQuiesceEvent : public Event
     virtual void process();
 
     /** Event description */
-    virtual const char *description();
+    virtual const char *description() const;
 };
 
 #endif // __CPU_QUIESCE_EVENT_HH__