From 1a34e23603441cf123db0218308f136f44986e73 Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Fri, 4 Dec 2015 09:48:48 +0000 Subject: 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. --- src/sim/sim_object.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sim/sim_object.cc') 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()); } } -- cgit v1.2.3