Get rid of boost::array
authorsvost <ya.nowa@yandex.ru>
Sun, 17 Apr 2016 11:06:45 +0000 (14:06 +0300)
committersvost <ya.nowa@yandex.ru>
Sun, 17 Apr 2016 11:06:45 +0000 (14:06 +0300)
src/net.cpp
src/net.h

index 47cc9af..6aff9f9 100644 (file)
@@ -56,7 +56,7 @@ static CNode* pnodeLocalHost = NULL;
 static CNode* pnodeSync = NULL;
 CAddress addrSeenByPeer(CService("0.0.0.0", nPortZero), nLocalServices);
 uint64_t nLocalHostNonce = 0;
-boost::array<int, THREAD_MAX> vnThreadsRunning;
+array<int, THREAD_MAX> vnThreadsRunning;
 static vector<SOCKET> vhListenSocket;
 CAddrMan addrman;
 
index 2539112..7d5132e 100644 (file)
--- a/src/net.h
+++ b/src/net.h
@@ -8,7 +8,6 @@
 #include <limits>
 #include <deque>
 #ifndef Q_MOC_RUN
-#include <boost/array.hpp>
 #endif
 #include <openssl/rand.h>
 
@@ -129,7 +128,7 @@ extern bool fDiscover;
 extern uint64_t nLocalServices;
 extern uint64_t nLocalHostNonce;
 extern CAddress addrSeenByPeer;
-extern boost::array<int, THREAD_MAX> vnThreadsRunning;
+extern array<int, THREAD_MAX> vnThreadsRunning;
 extern CAddrMan addrman;
 
 extern vector<CNode*> vNodes;