Commit f47bfd17 authored by Razvan Becheriu's avatar Razvan Becheriu

[1040] minor changes

parent 6c8a8ec6
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment