Skip to content

Commit b1192a2

Browse files
committed
[bookmarks] fix equal_range() stop bound
1 parent 2b8a6d4 commit b1192a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bookmarks.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public:
151151
return std::make_pair(lb, this->bv_tree.end());
152152
}
153153

154-
auto up = this->bv_tree.upper_bound(stop);
154+
auto up = this->bv_tree.lower_bound(stop);
155155

156156
return std::make_pair(lb, up);
157157
}

0 commit comments

Comments
 (0)