mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Replace InstanceCounter with CountedObject
This commit is contained in:
@@ -7,8 +7,6 @@
|
||||
#ifndef RIPPLE_SHAMAPTREENODE_H
|
||||
#define RIPPLE_SHAMAPTREENODE_H
|
||||
|
||||
DEFINE_INSTANCE (SHAMapTreeNode);
|
||||
|
||||
class SHAMap;
|
||||
|
||||
enum SHANodeFormat
|
||||
@@ -18,7 +16,9 @@ enum SHANodeFormat
|
||||
snfHASH = 3, // just the hash
|
||||
};
|
||||
|
||||
class SHAMapTreeNode : public SHAMapNode, public IS_INSTANCE (SHAMapTreeNode)
|
||||
class SHAMapTreeNode
|
||||
: public SHAMapNode
|
||||
, public CountedObject <SHAMapTreeNode>
|
||||
{
|
||||
public:
|
||||
typedef boost::shared_ptr<SHAMapTreeNode> pointer;
|
||||
|
||||
Reference in New Issue
Block a user