diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2015-12-04 09:48:48 +0000 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2015-12-04 09:48:48 +0000 |
commit | 1a34e23603441cf123db0218308f136f44986e73 (patch) | |
tree | 4f77433b7d62fb294b5e76826f11064eef5b98ef /src/sim/serialize.cc | |
parent | 5a249e03a4efa79d5513a5e2ebdd27159a14dbb9 (diff) | |
download | gem5-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/serialize.cc')
-rw-r--r-- | src/sim/serialize.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/sim/serialize.cc b/src/sim/serialize.cc index 90cb5e288..e55107b79 100644 --- a/src/sim/serialize.cc +++ b/src/sim/serialize.cc @@ -581,13 +581,6 @@ Serializable::serializeSection(CheckpointOut &cp, const char *name) const } void -Serializable::serializeSectionOld(CheckpointOut &cp, const char *name) -{ - Serializable::ScopedCheckpointSection sec(cp, name); - serializeOld(cp); -} - -void Serializable::unserializeSection(CheckpointIn &cp, const char *name) { Serializable::ScopedCheckpointSection sec(cp, name); |