summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-08-09 16:33:27 +0100
committerPeter Powell <petpow@saberuk.com>2018-08-10 13:55:32 +0100
commitaa6912f1c9845386180df91b20b6ecd3b78ba4b9 (patch)
treee3fd1a7c7dd5d0c844ea4aab60aea536c1c7e155 /include
parent36899e44eec416f5cd74cfe2d61baa984963dbe0 (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 'include')
-rw-r--r--include/hashcomp.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index 71f900654..9a3169435 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -198,18 +198,6 @@ namespace irc
* @return True if tokens are left to be read, false if the last token was just retrieved.
*/
bool GetToken(std::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.
- */
- bool GetToken(int &token);
-
- /** Fetch the next token from the stream as a long 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.
- */
- bool GetToken(long &token);
};
/** The portparser class seperates out a port range into integers.