summaryrefslogtreecommitdiff
path: root/src/sim/cxx_manager.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/cxx_manager.hh')
-rw-r--r--src/sim/cxx_manager.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sim/cxx_manager.hh b/src/sim/cxx_manager.hh
index caa115f03..b2ba31214 100644
--- a/src/sim/cxx_manager.hh
+++ b/src/sim/cxx_manager.hh
@@ -61,7 +61,7 @@
#include "base/cprintf.hh"
#include "sim/cxx_config.hh"
-class Checkpoint;
+class CheckpointIn;
/** This class allows a config file to be read into gem5 (generating the
* appropriate SimObjects) from C++ */
@@ -292,7 +292,7 @@ class CxxConfigManager
void serialize(std::ostream &os);
/** Load all objects' state from the given Checkpoint */
- void loadState(Checkpoint *checkpoint);
+ void loadState(CheckpointIn &checkpoint);
/** Delete all objects and clear objectsByName and objectsByOrder */
void deleteObjects();