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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user