From 7687f95d7700145a002aa48157cc10cb36a42778 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Wed, 20 Jan 2016 15:49:37 +0100 Subject: [PATCH] clarifying comment --- pdns/cachecleaner.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/cachecleaner.hh b/pdns/cachecleaner.hh index 0cb1cfcbe..dad2ebfdf 100644 --- a/pdns/cachecleaner.hh +++ b/pdns/cachecleaner.hh @@ -58,7 +58,7 @@ template void pruneCollection(T& collection, unsigned int maxCached sidx.erase(iter, eiter); // just lob it off from the beginning } - +// note: this expects iterator from first index, and sequence MUST be second index! template void moveCacheItemToFrontOrBack(T& collection, typename T::iterator& iter, bool front) { typedef typename T::template nth_index<1>::type sequence_t; -- 2.40.0