mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Base classes used polymorphically whose child classes have data members or
destructors must themselves have virtual destructors or Bad Things(TM) happen.
This commit is contained in:
@@ -46,6 +46,7 @@ protected:
|
||||
|
||||
public:
|
||||
TransactionMetaNodeEntry(int type) : mType(type) { ; }
|
||||
virtual ~TransactionMetaNodeEntry() { ; }
|
||||
|
||||
int getType() const { return mType; }
|
||||
virtual Json::Value getJson(int) const = 0;
|
||||
|
||||
Reference in New Issue
Block a user