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