From aa6912f1c9845386180df91b20b6ecd3b78ba4b9 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Thu, 9 Aug 2018 16:33:27 +0100 Subject: Remove the integer overloads of irc::tokenparser::GetToken(). The int overload was never used and the long overload was used in one place. --- include/hashcomp.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'include') 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. -- cgit v1.2.3