X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fcheckpoints.cpp;h=a9728ff77ad573abf7775e454f8f64f24006c82e;hp=c6fb487fefcbae97d116e64324e4860709cd8adf;hb=6bd80c2d737da9422283de5dd3033e318dcb96b7;hpb=9e58e0a8ca28b15a4bfa677f5b23891972db40fd diff --git a/src/checkpoints.cpp b/src/checkpoints.cpp index c6fb487..a9728ff 100644 --- a/src/checkpoints.cpp +++ b/src/checkpoints.cpp @@ -213,8 +213,8 @@ namespace Checkpoints // relay the checkpoint if (!checkpointMessage.IsNull()) { - BOOST_FOREACH(CNode* pnode, vNodes) - checkpointMessage.RelayTo(pnode); + for (std::vector::iterator it = vNodes.begin(); it != vNodes.end(); ++it) + checkpointMessage.RelayTo(*it); } return true; } @@ -370,8 +370,8 @@ namespace Checkpoints // Relay checkpoint { LOCK(cs_vNodes); - BOOST_FOREACH(CNode* pnode, vNodes) - checkpoint.RelayTo(pnode); + for (std::vector::iterator it = vNodes.begin(); it != vNodes.end(); ++it) + checkpoint.RelayTo(*it); } return true; }