summaryrefslogtreecommitdiff
path: root/sim/eventq.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sim/eventq.cc')
-rw-r--r--sim/eventq.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sim/eventq.cc b/sim/eventq.cc
index 6ffce4c0e..da9e85eeb 100644
--- a/sim/eventq.cc
+++ b/sim/eventq.cc
@@ -134,7 +134,7 @@ EventQueue::nameChildren()
}
void
-EventQueue::serialize()
+EventQueue::serialize(ostream &os)
{
string objects = "";
@@ -142,12 +142,12 @@ EventQueue::serialize()
while (event) {
objects += event->name();
objects += " ";
- event->serialize();
+ event->serialize(os);
event = event->next;
}
- nameOut("Serialized");
- paramOut("objects",objects);
+ nameOut(os, "Serialized");
+ SERIALIZE_MEMBER(objects);
}
void