From: Francesco Chemolli Date: Tue, 30 Dec 2014 22:39:43 +0000 (+0100) Subject: Cosmetic changes to src/stmem X-Git-Tag: merge-candidate-3-v1~384^2~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=552ec743f7244ff6bd22e69da789bbe588ef64e9;p=thirdparty%2Fsquid.git Cosmetic changes to src/stmem --- diff --git a/src/stmem.cc b/src/stmem.cc index 367801018d..e2a8af7262 100644 --- a/src/stmem.cc +++ b/src/stmem.cc @@ -58,7 +58,7 @@ mem_hdr::endOffset () const void mem_hdr::freeContent() { - nodes.destroy(SplayNode::DefaultFree); + nodes.destroy(); inmem_hi = 0; debugs(19, 9, HERE << this << " hi: " << inmem_hi); } diff --git a/src/stmem.h b/src/stmem.h index 4d90252ae3..ff970b1885 100644 --- a/src/stmem.h +++ b/src/stmem.h @@ -44,7 +44,7 @@ public: /* Only for use of MemObject */ void internalAppend(const char *data, int len); - static SplayNode::SPLAYCMP NodeCompare; + static Splay::SPLAYCMP NodeCompare; private: void debugDump() const;