]> git.ipfire.org Git - thirdparty/squid.git/commit
Cleanup: remove redundant IntRange class from StoreMeta.cc
authorAmos Jeffries <>
Wed, 12 Apr 2017 00:00:22 +0000 (12:00 +1200)
committerAmos Jeffries <>
Wed, 12 Apr 2017 00:00:22 +0000 (12:00 +1200)
commit21dfc374d05c5403076c27f49fbed60918b73073
treec87518f8cb71b537d8dc133e94901cc5df7d56a4
parent075829a0a6c08a6f9a01ab13be7de1816db8675d
Cleanup: remove redundant IntRange class from StoreMeta.cc

Use the Range<> template we have for generic ranges.

Move the Range.h template definitio to src/base/. It is only used by
code in src/.

Also, include a small performance improvements for StoreMeta::validLength().
Storing the valid TLV length limits in a static instead of generating a
new object instance on each call.
src/HttpHeaderRange.h
src/Store.h
src/StoreIOBuffer.h
src/StoreMeta.cc
src/acl/IntRange.h
src/base/Makefile.am
src/base/Range.h [moved from include/Range.h with 86% similarity]
src/mem_node.h
src/snmp/Pdu.h
src/snmp/Var.h
src/stmem.h