Browse Source

Add deque for windows to compile.

cl-refactor
subtly 10 years ago
parent
commit
3f979d856f
  1. 1
      libethereum/BlockQueue.h
  2. 2
      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>

2
libwhisper/WhisperPeer.cpp

@ -66,9 +66,7 @@ bool WhisperPeer::interpret(unsigned _id, RLP const& _r)
}
case MessagesPacket:
{
unsigned n = 0;
for (auto i: _r)
if (n++)
host()->inject(Envelope(i), this);
break;
}

Loading…
Cancel
Save