diff options
-rw-r--r-- | src/sim/eventq.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sim/eventq.cc b/src/sim/eventq.cc index 9b08a45d8..900a6dd4b 100644 --- a/src/sim/eventq.cc +++ b/src/sim/eventq.cc @@ -238,7 +238,9 @@ Event::unserialize(Checkpoint *cp, const string §ion) // object itself (since they aren't immediately true) short _flags; UNSERIALIZE_SCALAR(_flags); + assert(initialized()); flags = _flags; + flags.set(Initialized); bool wasScheduled = flags.isSet(Scheduled) && !flags.isSet(Squashed); flags.clear(Squashed | Scheduled); |