Add more counted types.

This commit is contained in:
JoelKatz
2012-10-31 16:11:59 -07:00
parent 9098c3f739
commit 8e4b11b668
8 changed files with 25 additions and 6 deletions

View File

@@ -9,6 +9,7 @@
#include "SerializedObject.h"
#include "TransactionFormats.h"
#include "RippleAddress.h"
#include "InstanceCounter.h"
#define TXN_SQL_NEW 'N'
#define TXN_SQL_CONFLICT 'C'
@@ -17,7 +18,9 @@
#define TXN_SQL_INCLUDED 'I'
#define TXN_SQL_UNKNOWN 'U'
class SerializedTransaction : public STObject
DEFINE_INSTANCE(SerializedTransaction);
class SerializedTransaction : public STObject, private IS_INSTANCE(SerializedTransaction)
{
public:
typedef boost::shared_ptr<SerializedTransaction> pointer;