/*
- * Copyright (C) 1996-2015 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.
#ifndef SQUID_LOOKUPTABLE_H_
#define SQUID_LOOKUPTABLE_H_
-#include "SBuf.h"
-#include "SBufAlgos.h"
+#include "sbuf/Algorithms.h"
+#include "sbuf/SBuf.h"
#include <unordered_map>
*
*/
-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
{