summaryrefslogtreecommitdiff
path: root/test/testStructures.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-03-14 18:14:54 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-03-14 18:14:54 +0000
commit2d6772cb1c592e4bd75be40f1fdfa924bbbc3c07 (patch)
tree751ac31e6a0e38fb5f17040da3937856fad7f111 /test/testStructures.cpp
parentGlobally enable GLM vector swizzles (diff)
downloadilt-2d6772cb1c592e4bd75be40f1fdfa924bbbc3c07.tar.bz2
ilt-2d6772cb1c592e4bd75be40f1fdfa924bbbc3c07.tar.xz
ilt-2d6772cb1c592e4bd75be40f1fdfa924bbbc3c07.zip
Add postLoad support to persistence
Diffstat (limited to 'test/testStructures.cpp')
-rw-r--r--test/testStructures.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/testStructures.cpp b/test/testStructures.cpp
index 8305078..469ec37 100644
--- a/test/testStructures.cpp
+++ b/test/testStructures.cpp
@@ -42,6 +42,12 @@ TestObject::persist(Persistence::PersistenceStore & store)
&& STORE_MEMBER(vptr);
}
+void
+TestObject::postLoad()
+{
+ postLoadCalled++;
+}
+
bool
SharedTestObject::persist(Persistence::PersistenceStore & store)
{