summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/hashcomp.h6
-rw-r--r--src/hashcomp.cpp8
2 files changed, 0 insertions, 14 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index 5b2c7215e..168ecb289 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -265,12 +265,6 @@ namespace irc
*/
bool GetToken(std::string &token);
- /** Fetch the next token from the stream as an irc::string
- * @param token The next token available, or an empty string if none remain
- * @return True if tokens are left to be read, false if the last token was just retrieved.
- */
- bool GetToken(irc::string &token);
-
/** Fetch the next token from the stream as an integer
* @param token The next token available, or undefined if none remain
* @return True if tokens are left to be read, false if the last token was just retrieved.
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp
index 36a6aabc9..1bbc35d1f 100644
--- a/src/hashcomp.cpp
+++ b/src/hashcomp.cpp
@@ -272,14 +272,6 @@ bool irc::tokenstream::GetToken(std::string &token)
return true;
}
-bool irc::tokenstream::GetToken(irc::string &token)
-{
- std::string stdstring;
- bool returnval = GetToken(stdstring);
- token = assign(stdstring);
- return returnval;
-}
-
bool irc::tokenstream::GetToken(int &token)
{
std::string tok;