diff options
author | Peter Powell <petpow@saberuk.com> | 2018-08-09 16:33:27 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2018-08-10 13:55:32 +0100 |
commit | aa6912f1c9845386180df91b20b6ecd3b78ba4b9 (patch) | |
tree | e3fd1a7c7dd5d0c844ea4aab60aea536c1c7e155 /src/hashcomp.cpp | |
parent | 36899e44eec416f5cd74cfe2d61baa984963dbe0 (diff) |
Remove the integer overloads of irc::tokenparser::GetToken().
The int overload was never used and the long overload was used in
one place.
Diffstat (limited to 'src/hashcomp.cpp')
-rw-r--r-- | src/hashcomp.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp index 2288a227e..d510e40b1 100644 --- a/src/hashcomp.cpp +++ b/src/hashcomp.cpp @@ -219,22 +219,6 @@ bool irc::tokenstream::GetToken(std::string &token) return true; } -bool irc::tokenstream::GetToken(int &token) -{ - std::string tok; - bool returnval = GetToken(tok); - token = ConvToInt(tok); - return returnval; -} - -bool irc::tokenstream::GetToken(long &token) -{ - std::string tok; - bool returnval = GetToken(tok); - token = ConvToInt(tok); - return returnval; -} - irc::sepstream::sepstream(const std::string& source, char separator, bool allowempty) : tokens(source), sep(separator), pos(0), allow_empty(allowempty) { |