]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Remove unused irc::tokenstream::GetToken() overload accepting an irc::string
authorAttila Molnar <attilamolnar@hush.com>
Mon, 22 Aug 2016 14:34:00 +0000 (16:34 +0200)
committerAttila Molnar <attilamolnar@hush.com>
Mon, 22 Aug 2016 14:34:00 +0000 (16:34 +0200)
include/hashcomp.h
src/hashcomp.cpp

index 5b2c7215ea9207dd1deed68eb51be6b40a6f7572..168ecb2898cf244bc752a2d272f45a9b967c3ace 100644 (file)
@@ -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.
index 36a6aabc9de80e26e76235fe1938d97d5f7871d4..1bbc35d1f0a0effe1556537bbe4bd60b4ea63cf3 100644 (file)
@@ -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;