diff options
author | Sadie Powell <sadie@witchery.services> | 2024-01-23 13:54:16 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-01-23 16:53:06 +0000 |
commit | 72acef4e159df5dcdb93b3c13b2f9d2e5e4c21a9 (patch) | |
tree | fc0a965612b45478e3b6f1566641df12790a818d /include/serialize.h | |
parent | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff) |
Mark types that have no inheritors as final.
Diffstat (limited to 'include/serialize.h')
-rw-r--r-- | include/serialize.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/serialize.h b/include/serialize.h index b0739e683..91ced7370 100644 --- a/include/serialize.h +++ b/include/serialize.h @@ -108,7 +108,7 @@ public: * of class that inherits from Serializable. Used for unserializing objects * of this type, as it requires a function pointer to a static member function. */ -class CoreExport Serialize::Type +class CoreExport Serialize::Type final : public Base { typedef Serializable* (*unserialize_func)(Serializable *obj, Serialize::Data &); @@ -242,7 +242,7 @@ public: * destructed. */ template<typename T> -class Serialize::Reference +class Serialize::Reference final : public ReferenceBase { protected: |