mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Change shared_polymorphic_downcast to dynamic_pointer_cast.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <boost/foreach.hpp>
|
||||
#include <boost/make_shared.hpp>
|
||||
#include <boost/pointer_cast.hpp>
|
||||
|
||||
#include "Application.h"
|
||||
#include "Log.h"
|
||||
@@ -279,7 +280,7 @@ void LedgerAcquire::addPeers()
|
||||
|
||||
boost::weak_ptr<PeerSet> LedgerAcquire::pmDowncast()
|
||||
{
|
||||
return boost::shared_polymorphic_downcast<PeerSet>(shared_from_this());
|
||||
return boost::dynamic_pointer_cast<PeerSet>(shared_from_this());
|
||||
}
|
||||
|
||||
static void LADispatch(
|
||||
|
||||
Reference in New Issue
Block a user