From 3f979d856f986abaac32fde3ed501931d97b596b Mon Sep 17 00:00:00 2001 From: subtly Date: Mon, 18 May 2015 02:56:58 +0200 Subject: [PATCH] Add deque for windows to compile. --- libethereum/BlockQueue.h | 1 + libwhisper/WhisperPeer.cpp | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libethereum/BlockQueue.h b/libethereum/BlockQueue.h index ba515b409..c865bac32 100644 --- a/libethereum/BlockQueue.h +++ b/libethereum/BlockQueue.h @@ -23,6 +23,7 @@ #include #include +#include #include #include #include diff --git a/libwhisper/WhisperPeer.cpp b/libwhisper/WhisperPeer.cpp index 9bef25140..7bcdfe8aa 100644 --- a/libwhisper/WhisperPeer.cpp +++ b/libwhisper/WhisperPeer.cpp @@ -66,10 +66,8 @@ bool WhisperPeer::interpret(unsigned _id, RLP const& _r) } case MessagesPacket: { - unsigned n = 0; for (auto i: _r) - if (n++) - host()->inject(Envelope(i), this); + host()->inject(Envelope(i), this); break; } default: