diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-11-24 10:05:16 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-11-24 10:05:16 -0800 |
| commit | d772639cc67365cd6a20ccb3b1a0850620494a12 (patch) | |
| tree | e62326dd6d3803652bc2463e23bf344ea7d3f840 /node/OutboundMulticast.hpp | |
| parent | acac88cf773ad51d0a47cd401ce6044f538fcde7 (diff) | |
| download | infinitytier-d772639cc67365cd6a20ccb3b1a0850620494a12.tar.gz infinitytier-d772639cc67365cd6a20ccb3b1a0850620494a12.zip | |
Multicast code cleanup.
Diffstat (limited to 'node/OutboundMulticast.hpp')
| -rw-r--r-- | node/OutboundMulticast.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/OutboundMulticast.hpp b/node/OutboundMulticast.hpp index f87656eb..b3ca36a5 100644 --- a/node/OutboundMulticast.hpp +++ b/node/OutboundMulticast.hpp @@ -133,7 +133,7 @@ public: */ inline bool sendIfNew(const RuntimeEnvironment *RR,const Address &toAddr) { - for(std::vector<Address>::iterator a(_alreadySentTo.begin());a!=_alreadySentTo.end();++a) { + for(std::vector<Address>::const_iterator a(_alreadySentTo.begin());a!=_alreadySentTo.end();++a) { if (*a == toAddr) return false; } |
