]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Cosmetic changes to src/stmem
authorFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 30 Dec 2014 22:39:43 +0000 (23:39 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 30 Dec 2014 22:39:43 +0000 (23:39 +0100)
src/stmem.cc
src/stmem.h

index 367801018ddab0a5809f19d9a8755750b80def53..e2a8af726264acb35e24308b3da0f6951de61de7 100644 (file)
@@ -58,7 +58,7 @@ mem_hdr::endOffset () const
 void
 mem_hdr::freeContent()
 {
-    nodes.destroy(SplayNode<mem_node *>::DefaultFree);
+    nodes.destroy();
     inmem_hi = 0;
     debugs(19, 9, HERE << this << " hi: " << inmem_hi);
 }
index 4d90252ae3e8f5de22179d3504e0cfb55c67dc1f..ff970b1885addbdc8041521448c614e99b8d1d52 100644 (file)
@@ -44,7 +44,7 @@ public:
     /* Only for use of MemObject */
     void internalAppend(const char *data, int len);
 
-    static SplayNode<mem_node *>::SPLAYCMP NodeCompare;
+    static Splay<mem_node *>::SPLAYCMP NodeCompare;
 
 private:
     void debugDump() const;