Fix to TsunamiIO unserialize

dev/tsunami_io.cc:
    Timers don't need to be rescheduled cause they aren't scheduled by
    the default constructor

--HG--
extra : convert_revision : afb68e4f0c4e2a2c98f0037e061752690080a503
This commit is contained in:
Andrew Schultz 2004-06-04 16:04:55 -04:00
parent 0379a27896
commit ee65ee1604

View file

@ -413,8 +413,8 @@ TsunamiIO::unserialize(Checkpoint *cp, const std::string &section)
UNSERIALIZE_SCALAR(time0when);
UNSERIALIZE_SCALAR(time2when);
UNSERIALIZE_SCALAR(rtcwhen);
timer0.reschedule(time0when);
timer2.reschedule(time2when);
timer0.schedule(time0when);
timer2.schedule(time2when);
rtc.reschedule(rtcwhen);
UNSERIALIZE_SCALAR(RTCAddress);
}