Serialize: This shouldn't have been commited, I got a little bit carried away it seems.
--HG-- extra : convert_revision : f8d4d9f3d395d2d3db020cd016c7840876097791
This commit is contained in:
parent
31a9114a3d
commit
50bceeae14
|
@ -40,7 +40,6 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "base/annotate.hh"
|
|
||||||
#include "base/inifile.hh"
|
#include "base/inifile.hh"
|
||||||
#include "base/misc.hh"
|
#include "base/misc.hh"
|
||||||
#include "base/output.hh"
|
#include "base/output.hh"
|
||||||
|
@ -409,7 +408,6 @@ Serializable::serializeAll(const std::string &cpt_dir)
|
||||||
outstream << "// checkpoint generated: " << ctime(&t);
|
outstream << "// checkpoint generated: " << ctime(&t);
|
||||||
|
|
||||||
globals.serialize(outstream);
|
globals.serialize(outstream);
|
||||||
Annotate::annotations.serialize(outstream);
|
|
||||||
SimObject::serializeAll(outstream);
|
SimObject::serializeAll(outstream);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -425,7 +423,6 @@ Serializable::unserializeAll(const std::string &cpt_dir)
|
||||||
dir);
|
dir);
|
||||||
Checkpoint *cp = new Checkpoint(dir, section);
|
Checkpoint *cp = new Checkpoint(dir, section);
|
||||||
unserializeGlobals(cp);
|
unserializeGlobals(cp);
|
||||||
Annotate::annotations.unserialize(cp);
|
|
||||||
SimObject::unserializeAll(cp);
|
SimObject::unserializeAll(cp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue