Remove boost foreach macro
[novacoin.git] / src / net.h
index 5958775..093ba85 100644 (file)
--- a/src/net.h
+++ b/src/net.h
@@ -9,7 +9,6 @@
 #include <deque>
 #ifndef Q_MOC_RUN
 #include <boost/array.hpp>
-#include <boost/foreach.hpp>
 #endif
 #include <openssl/rand.h>
 
@@ -559,7 +558,7 @@ inline void RelayInventory(const CInv& inv)
     // Put on lists to offer to the other nodes
     {
         LOCK(cs_vNodes);
-        BOOST_FOREACH(CNode* pnode, vNodes)
+        for (CNode* pnode : vNodes)
             pnode->PushInventory(inv);
     }
 }