Browse Source

Add deque for windows to compile.

cl-refactor
subtly 10 years ago
parent
commit
3f979d856f
  1. 1
      libethereum/BlockQueue.h
  2. 4
      libwhisper/WhisperPeer.cpp

1
libethereum/BlockQueue.h

@ -23,6 +23,7 @@
#include <condition_variable>
#include <thread>
#include <deque>
#include <boost/thread.hpp>
#include <libdevcore/Common.h>
#include <libdevcore/Log.h>

4
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:

Loading…
Cancel
Save