mirror of
https://github.com/anope/anope.git
synced 2026-07-03 12:43:12 +02:00
Serialize using mutable objects not immutable ones.
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ Memo::Type::Type()
|
||||
{
|
||||
}
|
||||
|
||||
void Memo::Type::Serialize(const Serializable *obj, Serialize::Data &data) const
|
||||
void Memo::Type::Serialize(Serializable *obj, Serialize::Data &data) const
|
||||
{
|
||||
const auto *m = static_cast<const Memo *>(obj);
|
||||
data.Store("owner", m->owner);
|
||||
|
||||
Reference in New Issue
Block a user