Add instance counts to core classes.

This commit is contained in:
JoelKatz
2012-10-31 15:50:14 -07:00
parent cd93bd0de3
commit f0eb8e7943
7 changed files with 25 additions and 6 deletions

View File

@@ -20,6 +20,7 @@
#include "Log.h"
SETUP_LOG();
DECLARE_INSTANCE(Ledger);
Ledger::Ledger(const RippleAddress& masterID, uint64 startAmount) : mTotCoins(startAmount), mLedgerSeq(1),
mCloseTime(0), mParentCloseTime(0), mCloseResolution(LEDGER_TIME_ACCURACY), mCloseFlags(0),