summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sim/serialize.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sim/serialize.hh b/src/sim/serialize.hh
index a0d4bafe7..ea2bd2928 100644
--- a/src/sim/serialize.hh
+++ b/src/sim/serialize.hh
@@ -186,6 +186,8 @@ void fromSimObject(T &t, SimObject *s)
eventQueue()->checkpointReschedule(&event); \
} while(0)
+#define SERIALIZE_OBJ(obj) obj.serializeSection(cp, #obj)
+#define UNSERIALIZE_OBJ(obj) obj.unserializeSection(cp, #obj)
#define SERIALIZE_OBJPTR(objptr) paramOut(cp, #objptr, (objptr)->name())