mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 12:05:53 +00:00
Second round of removing extraneous copy constructor and destructor calls.
This commit is contained in:
@@ -365,7 +365,7 @@ Json::Value ConnectionPool::getPeersJson()
|
||||
Json::Value ret(Json::arrayValue);
|
||||
std::vector<Peer::pointer> vppPeers = getPeerVector();
|
||||
|
||||
BOOST_FOREACH(Peer::pointer peer, vppPeers)
|
||||
BOOST_FOREACH(Peer::ref peer, vppPeers)
|
||||
{
|
||||
ret.append(peer->getJson());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user