aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Component.hpp
diff options
context:
space:
mode:
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