diff options
Diffstat (limited to 'src/components/Render.hpp')
-rw-r--r-- | src/components/Render.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/components/Render.hpp b/src/components/Render.hpp index 49a9588..81ca591 100644 --- a/src/components/Render.hpp +++ b/src/components/Render.hpp @@ -55,11 +55,15 @@ public: } void serialize(cereal::JSONOutputArchive& ar) final { - ar(visible, flipX); + ar(CEREAL_NVP(visible), CEREAL_NVP(flipX)); } void serialize(cereal::JSONInputArchive& ar) final { - ar(visible, flipX); + ar(CEREAL_NVP(visible), CEREAL_NVP(flipX)); + } + + std::string serializeName(void) const final { + return "Render"; } }; |