summaryrefslogtreecommitdiff
path: root/src/python/m5/SimObject.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/m5/SimObject.py')
-rw-r--r--src/python/m5/SimObject.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/m5/SimObject.py b/src/python/m5/SimObject.py
index 240b449df..4a509e57d 100644
--- a/src/python/m5/SimObject.py
+++ b/src/python/m5/SimObject.py
@@ -920,7 +920,7 @@ class SimObject(object):
def export_methods(cls, code):
code('''
void init();
- void loadState(Checkpoint *cp);
+ void loadState(CheckpointIn &cp);
void initState();
void regStats();
void resetStats();