summaryrefslogtreecommitdiff
path: root/src/base/pollevent.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/pollevent.hh')
-rw-r--r--src/base/pollevent.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/base/pollevent.hh b/src/base/pollevent.hh
index 5e0faa729..632239e08 100644
--- a/src/base/pollevent.hh
+++ b/src/base/pollevent.hh
@@ -40,7 +40,7 @@
class Checkpoint;
class PollQueue;
-class PollEvent
+class PollEvent : public Serializable
{
private:
friend class PollQueue;
@@ -60,8 +60,8 @@ class PollEvent
bool queued() { return queue != 0; }
- virtual void serialize(std::ostream &os);
- virtual void unserialize(Checkpoint *cp, const std::string &section);
+ void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
+ void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;
};
class PollQueue