mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Use provided names for CountedObject instead of typeid()
This commit is contained in:
@@ -12,6 +12,8 @@ class STObject
|
||||
, public CountedObject <STObject>
|
||||
{
|
||||
public:
|
||||
char const* getCountedObjectName () { return "STObject"; }
|
||||
|
||||
STObject () : mType (NULL)
|
||||
{
|
||||
;
|
||||
@@ -323,6 +325,8 @@ class STArray
|
||||
, public CountedObject <STArray>
|
||||
{
|
||||
public:
|
||||
char const* getCountedObjectName () { return "STArray"; }
|
||||
|
||||
typedef boost::ptr_vector<STObject> vector;
|
||||
typedef boost::ptr_vector<STObject>::iterator iterator;
|
||||
typedef boost::ptr_vector<STObject>::const_iterator const_iterator;
|
||||
|
||||
Reference in New Issue
Block a user