From bdc0e843a4762a1abddebc53d12a351debe8d457 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 19 Aug 2022 20:52:59 -0400 Subject: add cereal and entityx submodules; fix compile errors --- src/components/Component.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/Component.hpp') 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(ar)); else -- cgit v1.2.3