From 552ec743f7244ff6bd22e69da789bbe588ef64e9 Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Tue, 30 Dec 2014 23:39:43 +0100 Subject: [PATCH] Cosmetic changes to src/stmem --- src/stmem.cc | 2 +- src/stmem.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.47.3