Fix compilation warnings.

This commit is contained in:
Tom Ritchford
2015-01-02 12:56:55 -05:00
committed by Vinnie Falco
parent d078b0d143
commit e2f9f5d7e5

View File

@@ -231,10 +231,10 @@ class Ledger_test : public beast::unit_test::suite
applyTransactions(set, newLCL, newLCL, retriableTransactions, false);
newLCL->updateSkipList();
newLCL->setClosed();
int asf = newLCL->peekAccountStateMap()->flushDirty(hotACCOUNT_NODE,
newLCL->getLedgerSeq());
int tmf = newLCL->peekTransactionMap()->flushDirty(hotTRANSACTION_NODE,
newLCL->getLedgerSeq());
newLCL->peekAccountStateMap()->flushDirty(
hotACCOUNT_NODE, newLCL->getLedgerSeq());
newLCL->peekTransactionMap()->flushDirty(
hotTRANSACTION_NODE, newLCL->getLedgerSeq());
using namespace std::chrono;
auto const epoch_offset = days(10957); // 2000-01-01
std::uint32_t closeTime = time_point_cast<seconds> // now