1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 10:46:38 +02:00

Serialize using mutable objects not immutable ones.

This commit is contained in:
Sadie Powell
2025-05-16 15:18:00 +01:00
parent 3da8244de5
commit be5a0e8108
33 changed files with 40 additions and 40 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ struct HostRequestTypeImpl final
{
}
void Serialize(const Serializable *obj, Serialize::Data &data) const override
void Serialize(Serializable *obj, Serialize::Data &data) const override
{
const auto *req = static_cast<const HostRequestImpl *>(obj);
data.Store("nick", req->nick);