summaryrefslogtreecommitdiff
path: root/src/base/time.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/time.hh')
-rw-r--r--src/base/time.hh8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/base/time.hh b/src/base/time.hh
index 734a86fa9..41d454a65 100644
--- a/src/base/time.hh
+++ b/src/base/time.hh
@@ -43,8 +43,7 @@
#include <string>
#include "base/types.hh"
-
-class Checkpoint;
+#include "sim/serialize.hh"
class Time
{
@@ -198,9 +197,8 @@ class Time
std::string date(const std::string &format = "") const;
std::string time() const;
- void serialize(const std::string &base, std::ostream &os);
- void unserialize(const std::string &base, Checkpoint *cp,
- const std::string &section);
+ void serialize(const std::string &base, CheckpointOut &cp) const;
+ void unserialize(const std::string &base, CheckpointIn &cp);
};
void sleep(const Time &time);