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

@@ -152,7 +152,7 @@ OpenView::exists (Keylet const& k) const
auto
OpenView::succ (key_type const& key,
boost::optional<key_type> last) const ->
boost::optional<key_type> const& last) const ->
boost::optional<key_type>
{
return items_.succ(*base_, key, last);