84c84
< SimObject::loadState(Checkpoint *cp)
---
> SimObject::loadState(CheckpointIn &cp)
86c86
< if (cp->sectionExists(name())) {
---
> if (cp.sectionExists(name())) {
88c88,90
< unserialize(cp, name());
---
> // This works despite name() returning a fully qualified name
> // since we are at the top level.
> unserializeSection(cp, name());
143c145
< SimObject::serializeAll(std::ostream &os)
---
> SimObject::serializeAll(CheckpointOut &cp)
150,151c152,154
< obj->nameOut(os);
< obj->serialize(os);
---
> // This works despite name() returning a fully qualified name
> // since we are at the top level.
> obj->serializeSectionOld(cp, obj->name());