Fix a memory leak. Better TaggedCache logging.

This commit is contained in:
JoelKatz
2012-11-01 07:14:45 -07:00
parent d9ff4f2ad4
commit 7372d4423f
5 changed files with 27 additions and 12 deletions

View File

@@ -19,7 +19,7 @@
// FIXME: Need to clean up ledgers by index, probably should switch to just mapping sequence to hash
LedgerHistory::LedgerHistory() : mLedgersByHash(CACHED_LEDGER_NUM, CACHED_LEDGER_AGE)
LedgerHistory::LedgerHistory() : mLedgersByHash("LedgerCache", CACHED_LEDGER_NUM, CACHED_LEDGER_AGE)
{ ; }
void LedgerHistory::addLedger(Ledger::pointer ledger)