]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/base/LookupTable.h
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / base / LookupTable.h
index f529d8976e032a359b9bc88d9d0fb05359654f91..2cf6023e6783ed87543a139f374f85f54fa37d24 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -47,13 +47,6 @@ struct LookupTableRecord
  *
  */
 
-class SBufCaseInsensitiveLess : public std::binary_function<SBuf, SBuf, bool> {
-public:
-    bool operator() (const SBuf &x, const SBuf &y) const {
-        return x.caseCmp(y) < 0;
-    }
-};
-
 template<typename EnumType, typename RecordType = LookupTableRecord<EnumType>, typename Hasher = CaseInsensitiveSBufHash >
 class LookupTable
 {