summaryrefslogtreecommitdiff
path: root/src/sim/sim_object.cc
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2015-12-04 09:48:48 +0000
committerAndreas Sandberg <andreas.sandberg@arm.com>2015-12-04 09:48:48 +0000
commit1a34e23603441cf123db0218308f136f44986e73 (patch)
tree4f77433b7d62fb294b5e76826f11064eef5b98ef /src/sim/sim_object.cc
parent5a249e03a4efa79d5513a5e2ebdd27159a14dbb9 (diff)
downloadgem5-1a34e23603441cf123db0218308f136f44986e73.tar.xz
sim: Get rid of the non-const serialize() method
The last SimObject using the legacy serialize API with non-const methods has now been transitioned to the new API. This changeset removes the serializeOld() methods from the serialization base class as they are no longer used.
Diffstat (limited to 'src/sim/sim_object.cc')
-rw-r--r--src/sim/sim_object.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/sim_object.cc b/src/sim/sim_object.cc
index e87b7240f..af0ef3c2f 100644
--- a/src/sim/sim_object.cc
+++ b/src/sim/sim_object.cc
@@ -151,7 +151,7 @@ SimObject::serializeAll(CheckpointOut &cp)
SimObject *obj = *ri;
// This works despite name() returning a fully qualified name
// since we are at the top level.
- obj->serializeSectionOld(cp, obj->name());
+ obj->serializeSection(cp, obj->name());
}
}