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

@@ -26,10 +26,10 @@ enum TransStatus
INCOMPLETE = 8 // needs more signatures
};
DEFINE_INSTANCE (Transaction);
// This class is for constructing and examining transactions. Transactions are static so manipulation functions are unnecessary.
class Transaction : public boost::enable_shared_from_this<Transaction>, private IS_INSTANCE (Transaction)
class Transaction
: public boost::enable_shared_from_this<Transaction>
, public CountedObject <Transaction>
{
public:
typedef boost::shared_ptr<Transaction> pointer;