Skip to content

Commit 477fb14

Browse files
zhscnMatan-B
authored andcommitted
crimson/os/seastore/FixedKVBtree: use min_max_t<>::min to build begin iterator
Signed-off-by: Zhang Song <[email protected]> (cherry picked from commit 6ef9ee1)
1 parent 1563647 commit 477fb14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crimson/os/seastore/btree/fixed_kv_btree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ class FixedKVBtree {
465465
}
466466

467467
iterator_fut begin(op_context_t<node_key_t> c) const {
468-
return lower_bound(c, 0);
468+
return lower_bound(c, min_max_t<node_key_t>::min);
469469
}
470470
iterator_fut end(op_context_t<node_key_t> c) const {
471471
return upper_bound(c, min_max_t<node_key_t>::max);

0 commit comments

Comments
 (0)