diff --git a/libethereum/EthereumHost.cpp b/libethereum/EthereumHost.cpp index 43af332c6..cea9339f2 100644 --- a/libethereum/EthereumHost.cpp +++ b/libethereum/EthereumHost.cpp @@ -224,7 +224,7 @@ tuple>, vector>, list> allowed; list> sessions; - auto ps = peerSessions(); + auto const& ps = peerSessions(); allowed.reserve(ps.size()); for (auto const& j: ps) {