From: Christos Tsantilas Date: Mon, 16 Jun 2014 19:58:50 +0000 (+0300) Subject: fix rev.13465 "LruMap::memLimit_" patch to compile with clang X-Git-Tag: SQUID_3_5_0_1~178 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3f9d0e1c95b6dd06b10172c9411443ebcd04eb8a;p=thirdparty%2Fsquid.git fix rev.13465 "LruMap::memLimit_" patch to compile with clang --- diff --git a/src/base/LruMap.h b/src/base/LruMap.h index c3ca9f784b..00b68e5f9f 100644 --- a/src/base/LruMap.h +++ b/src/base/LruMap.h @@ -189,7 +189,7 @@ template void LruMap::trim() { - while (memLimit() >= 0 && size() >= memLimit()) { + while (size() >= memLimit()) { QueueIterator i = index.end(); --i; if (i != index.end()) {