mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Pass by reference in succ
This commit is contained in:
committed by
Nik Bougalis
parent
12e11721f9
commit
7b69592fe1
@@ -892,7 +892,7 @@ Ledger::exists (Keylet const& k) const
|
||||
|
||||
boost::optional<uint256>
|
||||
Ledger::succ (uint256 const& key,
|
||||
boost::optional<uint256> last) const
|
||||
boost::optional<uint256> const& last) const
|
||||
{
|
||||
auto item = stateMap_->upper_bound(key);
|
||||
if (item == stateMap_->end())
|
||||
|
||||
Reference in New Issue
Block a user