mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Missing virtual deutructors.
This commit is contained in:
@@ -17,6 +17,7 @@ public:
|
||||
|
||||
AccountItem(){ }
|
||||
AccountItem(SerializedLedgerEntry::ref ledger);
|
||||
virtual ~AccountItem() { ; }
|
||||
virtual AccountItem::pointer makeItem(const uint160& accountID, SerializedLedgerEntry::ref ledgerEntry)=0;
|
||||
virtual LedgerEntryType getType()=0;
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ class Offer : public AccountItem
|
||||
Offer(SerializedLedgerEntry::pointer ledgerEntry); // For accounts in a ledger
|
||||
public:
|
||||
Offer(){}
|
||||
virtual ~Offer(){}
|
||||
AccountItem::pointer makeItem(const uint160&, SerializedLedgerEntry::ref ledgerEntry);
|
||||
LedgerEntryType getType(){ return(ltOFFER); }
|
||||
|
||||
|
||||
@@ -39,6 +39,7 @@ private:
|
||||
|
||||
public:
|
||||
RippleState(){ }
|
||||
virtual ~RippleState(){}
|
||||
AccountItem::pointer makeItem(const uint160& accountID, SerializedLedgerEntry::ref ledgerEntry);
|
||||
LedgerEntryType getType(){ return(ltRIPPLE_STATE); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user