1
0
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:
Adam
2011-11-03 18:59:51 -04:00
parent ca33ac608d
commit 09dba47653
+5
View File
@@ -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()
{