Missing virtual deutructors.

This commit is contained in:
JoelKatz
2013-03-06 03:34:30 -08:00
parent f1be0c0be8
commit 7e6e42e9d3
3 changed files with 3 additions and 0 deletions

View File

@@ -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;

View File

@@ -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); }

View File

@@ -39,6 +39,7 @@ private:
public:
RippleState(){ }
virtual ~RippleState(){}
AccountItem::pointer makeItem(const uint160& accountID, SerializedLedgerEntry::ref ledgerEntry);
LedgerEntryType getType(){ return(ltRIPPLE_STATE); }