diff options
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r-- | include/hashcomp.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h index 2ac346294..033003f71 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -324,9 +324,10 @@ namespace irc virtual ~sepstream(); /** Fetch the next token from the stream - * @return The next token is returned, or an empty string if none remain + * @param token The next token from the stream is placed here + * @return True if tokens still remain, false if there are none left */ - virtual const std::string GetToken(); + virtual bool GetToken(std::string &token); /** Fetch the entire remaining stream, without tokenizing * @return The remaining part of the stream |