2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[1040] minor changes

This commit is contained in:
Razvan Becheriu
2019-12-06 18:20:59 +02:00
parent 6c8a8ec6a7
commit f47bfd171e

View File

@@ -798,7 +798,7 @@ CqlLease4Exchange::getExpiredLeases(const size_t &max_leases,
std::numeric_limits<cass_int32_t>::max();
for (cass_int32_t state = Lease::STATE_DEFAULT; state <= Lease::STATE_EXPIRED_RECLAIMED;
state++) {
++state) {
if (state == keep_state) {
continue;
}
@@ -1617,7 +1617,7 @@ CqlLease6Exchange::getExpiredLeases(const size_t &max_leases,
std::numeric_limits<cass_int32_t>::max();
for (cass_int32_t state = Lease::STATE_DEFAULT; state <= Lease::STATE_EXPIRED_RECLAIMED;
state++) {
++state) {
if (state == keep_state) {
continue;
}