From 8b86b81fc9c7bb084d8c1ee7e34ac8b91a104ff0 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Thu, 22 Aug 2013 15:10:09 -0700 Subject: [PATCH] Add ~InboundLedger --- modules/ripple_app/ledger/ripple_InboundLedger.cpp | 4 ++++ modules/ripple_app/ledger/ripple_InboundLedger.h | 7 ++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/ripple_app/ledger/ripple_InboundLedger.cpp b/modules/ripple_app/ledger/ripple_InboundLedger.cpp index 9c61bb7a3..942556e2f 100644 --- a/modules/ripple_app/ledger/ripple_InboundLedger.cpp +++ b/modules/ripple_app/ledger/ripple_InboundLedger.cpp @@ -40,6 +40,10 @@ bool InboundLedger::checkLocal () return false; } +InboundLedger::~InboundLedger () +{ +} + bool InboundLedger::tryLocal () { // return value: true = no more work to do diff --git a/modules/ripple_app/ledger/ripple_InboundLedger.h b/modules/ripple_app/ledger/ripple_InboundLedger.h index 7bcdb67d8..bc34aee04 100644 --- a/modules/ripple_app/ledger/ripple_InboundLedger.h +++ b/modules/ripple_app/ledger/ripple_InboundLedger.h @@ -22,10 +22,7 @@ public: public: InboundLedger (uint256 const& hash, uint32 seq); - virtual ~InboundLedger () - { - ; - } + virtual ~InboundLedger (); bool isBase () const { @@ -56,7 +53,7 @@ public: return mSeq; } - // VFALCO TODO Make thise the Listener / Observer pattern + // VFALCO TODO Make this the Listener / Observer pattern bool addOnComplete (FUNCTION_TYPE); bool takeBase (const std::string& data);