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 /src/access.cpp | |
parent | 3da8244de5d013cc9c390c194c195f5c4a81a0da (diff) |
Serialize using mutable objects not immutable ones.
Diffstat (limited to 'src/access.cpp')
-rw-r--r-- | src/access.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/access.cpp b/src/access.cpp index 1eb7b8930..47e2a14a8 100644 --- a/src/access.cpp +++ b/src/access.cpp @@ -166,7 +166,7 @@ ChanAccess::Type::Type() { } -void ChanAccess::Type::Serialize(const Serializable *obj, Serialize::Data &data) const +void ChanAccess::Type::Serialize(Serializable *obj, Serialize::Data &data) const { const auto *access = static_cast<const ChanAccess *>(obj); data.Store("provider", access->provider->name); |