summaryrefslogtreecommitdiff
path: root/test/testStructures.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-01-09 00:23:16 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-01-09 00:23:16 +0000
commitbfea0319aa07ad2c921ba29ba216e921d65f2ed1 (patch)
tree8a61e8b5a1280445c94d1443205cc1d2a5a23736 /test/testStructures.h
parentFix test-persistence dependencies (diff)
downloadilt-bfea0319aa07ad2c921ba29ba216e921d65f2ed1.tar.bz2
ilt-bfea0319aa07ad2c921ba29ba216e921d65f2ed1.tar.xz
ilt-bfea0319aa07ad2c921ba29ba216e921d65f2ed1.zip
Integer support in persistence
Splits bool and arithmatic types, pass arithmatic values as string views from JSON and parse according to the target type.
Diffstat (limited to 'test/testStructures.h')
-rw-r--r--test/testStructures.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testStructures.h b/test/testStructures.h
index 064c00c..4eb4764 100644
--- a/test/testStructures.h
+++ b/test/testStructures.h
@@ -33,6 +33,7 @@ struct TestObject : public Persistence::Persistable {
std::string str {};
bool bl {};
RelativePosition3D pos {};
+ GlobalPosition3D gpos {};
std::vector<float> flts;
std::vector<RelativePosition3D> poss;
std::vector<std::vector<std::vector<std::string>>> nest;