diff options
| author | Adam <Adam@anope.org> | 2010-06-20 21:33:01 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-06-20 21:33:01 -0400 |
| commit | 17040c088a00a83094359382b9add202e3749db7 (patch) | |
| tree | d4671d12949c363f3b81cd5bacce38b2c18f75c5 /include/operserv.h | |
| parent | 0d2d7e996835c8c77c1eee5a4c90c3e2a60be4ff (diff) | |
Store modules in a list and xlines in a vector, not deques. We need to be able to keep iterators valid.
Diffstat (limited to 'include/operserv.h')
| -rw-r--r-- | include/operserv.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/operserv.h b/include/operserv.h index c8a7e306a..35aff0dda 100644 --- a/include/operserv.h +++ b/include/operserv.h @@ -69,7 +69,7 @@ class CoreExport XLineManager protected: /* List of XLines in this XLineManager */ - std::deque<XLine *> XLines; + std::vector<XLine *> XLines; public: /** Constructor */ @@ -103,10 +103,10 @@ class CoreExport XLineManager */ const size_t GetCount() const; - /** Get the XLine list - * @return The list + /** Get the XLine vector + * @return The vector */ - const std::deque<XLine *>& GetList() const; + const std::vector<XLine *>& GetList() const; /** Add an entry to this XLineManager * @param x The entry @@ -125,7 +125,7 @@ class CoreExport XLineManager */ XLine *GetEntry(unsigned index) const; - /** Clear the XLine list + /** Clear the XLine vector */ void Clear(); |
