diff options
author | Sadie Powell <sadie@witchery.services> | 2025-05-16 15:18:00 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-05-16 15:18:00 +0100 |
commit | be5a0e8108cb5d17b4e36f5858e1700ccb645c8b (patch) | |
tree | 759d3f6b08f73895df1d0017b70b11d223db1eb5 /include/serialize.h | |
parent | 3da8244de5d013cc9c390c194c195f5c4a81a0da (diff) |
Serialize using mutable objects not immutable ones.
Diffstat (limited to 'include/serialize.h')
-rw-r--r-- | include/serialize.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/serialize.h b/include/serialize.h index 79315d7a9..6aac08cea 100644 --- a/include/serialize.h +++ b/include/serialize.h @@ -216,7 +216,7 @@ public: * type so you can cast it without any checks. * @param data The database to serialize to. */ - virtual void Serialize(const Serializable *obj, Serialize::Data &data) const = 0; + virtual void Serialize(Serializable *obj, Serialize::Data &data) const = 0; /** Unserializes the specified object from the database. * @param obj The object to unserialize into. If the object has not been |