summaryrefslogtreecommitdiff
path: root/include/hashcomp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r--include/hashcomp.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index ad6a2133e..b818b16f5 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -82,14 +82,15 @@ namespace irc
class tokenstream
{
private:
- std::string tokenbuffer;
- std::vector<std::string> tokens;
+ std::string tokens;
+ std::string::iterator last_starting_position;
+ std::string::iterator n;
+ bool last_pushed;
public:
tokenstream(std::string &source);
~tokenstream();
- unsigned int GetNumTokens();
- const std::string& GetToken(unsigned int index);
+ const std::string GetToken();
};