From b649409cbf5d798f0a4a4c05c4500332a91a8575 Mon Sep 17 00:00:00 2001 From: subtly Date: Thu, 28 May 2015 22:13:30 +0200 Subject: [PATCH] Code review optimization. --- libethereum/EthereumHost.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {