OpenLedger::current returns OpenView const.

This commit is contained in:
Edward Hennis
2015-10-06 15:33:42 -04:00
parent 5707988155
commit dc1276efa3
4 changed files with 4 additions and 4 deletions

View File

@@ -111,7 +111,7 @@ public:
non-modifiable snapshot of the open ledger
at the time of the call.
*/
std::shared_ptr<ReadView const>
std::shared_ptr<OpenView const>
current() const;
/** Modify the open ledger

View File

@@ -44,7 +44,7 @@ OpenLedger::empty() const
return current_->txCount() == 0;
}
std::shared_ptr<ReadView const>
std::shared_ptr<OpenView const>
OpenLedger::current() const
{
std::lock_guard<

View File

@@ -169,7 +169,7 @@ public:
will not be visible.
*/
std::shared_ptr<ReadView const>
std::shared_ptr<OpenView const>
open() const;
/** Returns the last closed ledger.

View File

@@ -91,7 +91,7 @@ Env::Env (beast::unit_test::suite& test_)
Pathfinder::initPathTable();
}
std::shared_ptr<ReadView const>
std::shared_ptr<OpenView const>
Env::open() const
{
return openLedger.current();