From a4f41edf7a579694e7b0d60a5c5ffbd548f7d299 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Fri, 14 Sep 2012 07:08:01 -0700 Subject: [PATCH] Cleanup shared polymorphic downcast. --- src/LedgerAcquire.cpp | 2 +- src/LedgerConsensus.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LedgerAcquire.cpp b/src/LedgerAcquire.cpp index 45c5ff6d4..bbfd67063 100644 --- a/src/LedgerAcquire.cpp +++ b/src/LedgerAcquire.cpp @@ -108,7 +108,7 @@ void LedgerAcquire::onTimer() boost::weak_ptr LedgerAcquire::pmDowncast() { - return boost::shared_polymorphic_downcast(shared_from_this()); + return boost::shared_polymorphic_downcast(shared_from_this()); } void LedgerAcquire::done() diff --git a/src/LedgerConsensus.cpp b/src/LedgerConsensus.cpp index d507d9fee..f223f7742 100644 --- a/src/LedgerConsensus.cpp +++ b/src/LedgerConsensus.cpp @@ -44,7 +44,7 @@ void TransactionAcquire::done() boost::weak_ptr TransactionAcquire::pmDowncast() { - return boost::shared_polymorphic_downcast(shared_from_this()); + return boost::shared_polymorphic_downcast(shared_from_this()); } void TransactionAcquire::trigger(Peer::ref peer, bool timer)