Pass by reference in succ

This commit is contained in:
Miguel Portilla
2015-08-13 10:08:00 -04:00
committed by Nik Bougalis
parent 12e11721f9
commit 7b69592fe1
8 changed files with 8 additions and 8 deletions

View File

@@ -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())