summaryrefslogtreecommitdiff
path: root/include/mode.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:43:25 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:43:25 +0000
commit219993bc9018d9f0d9568330d7a972b68b785d27 (patch)
tree9d827a0e1a2ad343ebff21fb7f692b1fd2835650 /include/mode.h
parent2630a87bb13b089e6d0fdcff4bcd0f3a9612e52f (diff)
Replace std::deque with std::vector in spanningtree and related modules
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11593 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/mode.h')
-rw-r--r--include/mode.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mode.h b/include/mode.h
index 280284bfa..e80455acc 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -445,8 +445,8 @@ class CoreExport ModeParser : public classbase
* Use GetLastParse() to get this value, to be used for display purposes.
*/
std::string LastParse;
- std::deque<std::string> LastParseParams;
- std::deque<TranslateType> LastParseTranslate;
+ std::vector<std::string> LastParseParams;
+ std::vector<TranslateType> LastParseTranslate;
unsigned int sent[256];
@@ -488,8 +488,8 @@ class CoreExport ModeParser : public classbase
* @return Last parsed string, as seen by users.
*/
const std::string& GetLastParse();
- const std::deque<std::string>& GetLastParseParams() { return LastParseParams; }
- const std::deque<TranslateType>& GetLastParseTranslate() { return LastParseTranslate; }
+ const std::vector<std::string>& GetLastParseParams() { return LastParseParams; }
+ const std::vector<TranslateType>& GetLastParseTranslate() { return LastParseTranslate; }
/** Add a mode to the mode parser.
* @return True if the mode was successfully added.
*/