summaryrefslogtreecommitdiff
path: root/node/OutboundMulticast.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-07-17 14:21:09 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-07-17 14:21:09 -0700
commitb9e1d53d7ac4e8d19520e3063b194ee01f550198 (patch)
tree9aad6b77f36c7f221f5d6b660e6522fc3cfaae02 /node/OutboundMulticast.hpp
parentab0806a036485979d60015a22a8e8831b68643a2 (diff)
downloadinfinitytier-b9e1d53d7ac4e8d19520e3063b194ee01f550198.tar.gz
infinitytier-b9e1d53d7ac4e8d19520e3063b194ee01f550198.zip
Minor cleanup.
Diffstat (limited to 'node/OutboundMulticast.hpp')
-rw-r--r--node/OutboundMulticast.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/node/OutboundMulticast.hpp b/node/OutboundMulticast.hpp
index 0c988804..486b66ff 100644
--- a/node/OutboundMulticast.hpp
+++ b/node/OutboundMulticast.hpp
@@ -90,18 +90,18 @@ public:
/**
* @return Multicast creation time
*/
- inline uint64_t timestamp() const throw() { return _timestamp; }
+ inline uint64_t timestamp() const { return _timestamp; }
/**
* @param now Current time
* @return True if this multicast is expired (has exceeded transmit timeout)
*/
- inline bool expired(uint64_t now) const throw() { return ((now - _timestamp) >= ZT_MULTICAST_TRANSMIT_TIMEOUT); }
+ inline bool expired(uint64_t now) const { return ((now - _timestamp) >= ZT_MULTICAST_TRANSMIT_TIMEOUT); }
/**
* @return True if this outbound multicast has been sent to enough peers
*/
- inline bool atLimit() const throw() { return (_alreadySentTo.size() >= _limit); }
+ inline bool atLimit() const { return (_alreadySentTo.size() >= _limit); }
/**
* Just send without checking log