summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-08-22 16:34:00 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-08-22 16:34:00 +0200
commite1e9341a84b89111c61c6c4bcceab1759b90f818 (patch)
tree9aa4b083fcbf85b5245f4b6a715e96b52abd5edb
parent0612de153ff8a731992fee0d1812295cd98c6e8d (diff)
Remove unused irc::tokenstream::GetToken() overload accepting an irc::string
-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;