aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Component.hpp
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2022-08-19 20:52:59 -0400
committerClyne Sullivan <clyne@bitgloo.com>2022-08-19 20:52:59 -0400
commitbdc0e843a4762a1abddebc53d12a351debe8d457 (patch)
treead4c2023c5c03527b628108f2c76bf42c354724c /src/components/Component.hpp
parentd1dd9743d93009eef7d32d5403eeefbba29c2ee6 (diff)
add cereal and entityx submodules; fix compile errors
Diffstat (limited to 'src/components/Component.hpp')
-rw-r--r--src/components/Component.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Component.hpp b/src/components/Component.hpp
index 2928366..576a059 100644
--- a/src/components/Component.hpp
+++ b/src/components/Component.hpp
@@ -33,7 +33,7 @@ public:
virtual void serialize(cereal::JSONOutputArchive& ar) = 0;
virtual void serialize(cereal::JSONInputArchive& ar) = 0;
- void internal_serialize(bool save, void *ar) final {
+ virtual void internal_serialize(bool save, void *ar) final {
if (save)
serialize(*reinterpret_cast<cereal::JSONOutputArchive*>(ar));
else