mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Use the correct downcast.
This commit is contained in:
@@ -103,7 +103,7 @@ public:
|
|||||||
return jvResult;
|
return jvResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
RPCHandler mRPCHandler(&mNetwork, this->shared_from_this());
|
RPCHandler mRPCHandler(&mNetwork, boost::shared_polymorphic_downcast<InfoSub>(this->shared_from_this()));
|
||||||
Json::Value jvResult(Json::objectValue);
|
Json::Value jvResult(Json::objectValue);
|
||||||
|
|
||||||
int iRole = mHandler->getPublic()
|
int iRole = mHandler->getPublic()
|
||||||
|
|||||||
Reference in New Issue
Block a user