mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Install upper_bound in ReadView:
* And use it in doLedgerData.
This commit is contained in:
committed by
Edward Hennis
parent
849e1ce5f4
commit
83830ef9c0
@@ -144,6 +144,13 @@ ReadView::sles_type::end() const ->
|
||||
return *end_;
|
||||
}
|
||||
|
||||
auto
|
||||
ReadView::sles_type::upper_bound(key_type const& key) const ->
|
||||
iterator
|
||||
{
|
||||
return iterator(view_, view_->slesUpperBound(key));
|
||||
}
|
||||
|
||||
ReadView::txs_type::txs_type(
|
||||
ReadView const& view)
|
||||
: ReadViewFwdRange(view)
|
||||
|
||||
Reference in New Issue
Block a user