Replace InstanceCounter with CountedObject

This commit is contained in:
Vinnie Falco
2013-06-17 17:45:33 -07:00
parent abce930b8b
commit 2abec05b5b
53 changed files with 321 additions and 334 deletions

View File

@@ -7,9 +7,8 @@
#ifndef __PROPOSELEDGER__
#define __PROPOSELEDGER__
DEFINE_INSTANCE (LedgerProposal);
class LedgerProposal : private IS_INSTANCE (LedgerProposal)
class LedgerProposal
: public CountedObject <LedgerProposal>
{
public:
static const uint32 seqLeave = 0xffffffff; // leaving the consensus process