Fix lots of places I used 'empty' instead of 'clear'. This is why I like 'isEmpty'.

This commit is contained in:
JoelKatz
2012-10-11 05:06:24 -07:00
parent 4f1ebc2884
commit c43934ab6f
4 changed files with 7 additions and 7 deletions

View File

@@ -215,8 +215,8 @@ void Application::loadOldLedger()
std::cout << "No Ledger found?" << std::endl;
exit(-1);
}
lastLedger->setClosed();
Ledger::pointer openLedger = boost::make_shared<Ledger>(false, boost::ref(*lastLedger));
mMasterLedger.switchLedgers(lastLedger, openLedger);
mNetOps.setLastCloseTime(lastLedger->getCloseTimeNC());