mirror of
https://github.com/anope/anope.git
synced 2026-06-27 04:26:38 +02:00
Added an assignment operator for Serializable because some STL containers use it which causes iterators to become invalidated
This commit is contained in:
@@ -144,6 +144,11 @@ template<typename Type> class Serializable : public SerializableBase
|
||||
serialized_items->erase(this->s_iter);
|
||||
}
|
||||
|
||||
Serializable &operator=(const Serializable &)
|
||||
{
|
||||
return *this;
|
||||
}
|
||||
|
||||
public:
|
||||
Anope::string serialize_name()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user