]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
cert validation cache: Fixes to LruMap template class to build on amd64-CentOS-5.3
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 14 Dec 2012 09:46:42 +0000 (11:46 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 14 Dec 2012 09:46:42 +0000 (11:46 +0200)
src/base/LruMap.h

index 93473f51f9b0d69ea65e09b8c71569ac4760b837..a5888baffb3a01e72847eb6ebe33041f825e18dc 100644 (file)
@@ -22,8 +22,8 @@ public:
         Entry(const char *aKey, EntryValue *t): key(aKey), value(t), date(squid_curtime) {}
         ~Entry() {delete value;}
     private:
-        Entry(LruMap<EntryValue, EntryCost>::Entry &);
-        LruMap<EntryValue, EntryCost>::Entry & operator = (LruMap<EntryValue, EntryCost>::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<EntryValue, EntryCost> const &);
-    LruMap<EntryValue, EntryCost> & operator = (LruMap<EntryValue, EntryCost> const &);
+    LruMap(LruMap const &);
+    LruMap & operator = (LruMap const &);
 
     bool expired(Entry &e);
     void trim();