From a70d5f19960be693c88e5bfdc01dc45c3ba6d8c5 Mon Sep 17 00:00:00 2001 From: Christos Tsantilas Date: Fri, 14 Dec 2012 11:46:42 +0200 Subject: [PATCH] cert validation cache: Fixes to LruMap template class to build on amd64-CentOS-5.3 --- src/base/LruMap.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/base/LruMap.h b/src/base/LruMap.h index 93473f51f9..a5888baffb 100644 --- a/src/base/LruMap.h +++ b/src/base/LruMap.h @@ -22,8 +22,8 @@ public: Entry(const char *aKey, EntryValue *t): key(aKey), value(t), date(squid_curtime) {} ~Entry() {delete value;} private: - Entry(LruMap::Entry &); - LruMap::Entry & operator = (LruMap::Entry &); + Entry(Entry &); + Entry & operator = (Entry &); public: std::string key; ///< the key of entry EntryValue *value; ///< A pointer to the stored value @@ -56,8 +56,8 @@ public: /// The number of stored entries int entries() const {return entries_;} private: - LruMap(LruMap const &); - LruMap & operator = (LruMap const &); + LruMap(LruMap const &); + LruMap & operator = (LruMap const &); bool expired(Entry &e); void trim(); -- 2.47.3