From: Amos Jeffries Date: Tue, 2 Apr 2019 07:34:00 +0000 (+0000) Subject: Remove unused SBufCaseInsensitiveLess (#385) X-Git-Tag: SQUID_5_0_1~109 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0aea47cab6db266ba7893f04ce20eb2eef1d0d39;p=thirdparty%2Fsquid.git Remove unused SBufCaseInsensitiveLess (#385) This class has been replaced by a proper hash in the sbuf/Algorithms.h current code. If this is needed in future we can define a lambda instead. --- diff --git a/src/base/LookupTable.h b/src/base/LookupTable.h index 45026d385f..2bba29ed12 100644 --- a/src/base/LookupTable.h +++ b/src/base/LookupTable.h @@ -47,13 +47,6 @@ struct LookupTableRecord * */ -class SBufCaseInsensitiveLess : public std::binary_function { -public: - bool operator() (const SBuf &x, const SBuf &y) const { - return x.caseCmp(y) < 0; - } -}; - template, typename Hasher = CaseInsensitiveSBufHash > class LookupTable {