]> git.ipfire.org Git - thirdparty/squid.git/commit
Simplify DelayId composite position management (#2126)
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Tue, 22 Jul 2025 23:42:46 +0000 (23:42 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Thu, 24 Jul 2025 23:43:32 +0000 (23:43 +0000)
commit0d7760d2fcf304357d980c5f2dc531a8b62d400c
tree0440afb051aa5bfadb44938c463697201f4de98c
parent75418fdc2bcda8a4a81ea12ac84e02b3b425d9fc
Simplify DelayId composite position management (#2126)

Moved DelayId::compositeId initialization to the constructor and removed
its setter and getters as unused. Simplified DelayId methods by using
"pool and compositeId are either both set or both unset" invariant that
is now upheld by the two corresponding class constructors.
src/DelayId.cc
src/DelayId.h