diff options
author | jhuntley <jhuntley@houghtonassociates.com> | 2015-02-27 05:05:53 +0800 |
---|---|---|
committer | jhuntley <jhuntley@houghtonassociates.com> | 2015-03-05 00:18:32 +0800 |
commit | e229b5d291eefbf05e77988149d3ba2dc0059575 (patch) | |
tree | a8bf8cf138f206f8d37dcc1429b0e4e65ab0e126 /net.cpp | |
parent | 5ae585f7cf21ae281f564d0edbad1251129f256d (diff) | |
download | dexon-solidity-e229b5d291eefbf05e77988149d3ba2dc0059575.tar dexon-solidity-e229b5d291eefbf05e77988149d3ba2dc0059575.tar.gz dexon-solidity-e229b5d291eefbf05e77988149d3ba2dc0059575.tar.bz2 dexon-solidity-e229b5d291eefbf05e77988149d3ba2dc0059575.tar.lz dexon-solidity-e229b5d291eefbf05e77988149d3ba2dc0059575.tar.xz dexon-solidity-e229b5d291eefbf05e77988149d3ba2dc0059575.tar.zst dexon-solidity-e229b5d291eefbf05e77988149d3ba2dc0059575.zip |
Revert all asio.h includes except for in 2 files, DebuggingStateWrapper.h and Transact.cpp. After enabling WIN32_LEAN_AND_MEAN, all the asio.h include issues, commit 20b6e24ffcab088e71092e07030a377d3135da3c, went away.
Diffstat (limited to 'net.cpp')
-rw-r--r-- | net.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -19,8 +19,6 @@ * @date 2014 */ -// Make sure boost/asio.hpp is included before windows.h. -#include <boost/asio.hpp> #include <boost/test/unit_test.hpp> #include <libdevcore/Worker.h> @@ -192,22 +190,22 @@ BOOST_AUTO_TEST_CASE(kademlia) node.populateAll(); clog << "NodeTable:\n" << *node.nodeTable.get() << endl; - + auto nodes = node.nodeTable->nodes(); nodes.sort(); - + node.nodeTable->reset(); clog << "NodeTable:\n" << *node.nodeTable.get() << endl; node.populate(1); clog << "NodeTable:\n" << *node.nodeTable.get() << endl; - + node.nodeTable->discover(); this_thread::sleep_for(chrono::milliseconds(2000)); clog << "NodeTable:\n" << *node.nodeTable.get() << endl; BOOST_REQUIRE_EQUAL(node.nodeTable->count(), 8); - + auto netNodes = node.nodeTable->nodes(); netNodes.sort(); |