mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-12 20:28:27 +00:00
Clean up some stuff, including a few spots where exceptions were not being handled correctly.
This commit is contained in:
@ -43,7 +43,6 @@ namespace ZeroTier {
|
||||
const Defaults ZT_DEFAULTS;
|
||||
|
||||
static inline std::map< Identity,std::vector<InetAddress> > _mkSupernodeMap()
|
||||
throw(std::runtime_error)
|
||||
{
|
||||
std::map< Identity,std::vector<InetAddress> > sn;
|
||||
Identity id;
|
||||
@ -99,8 +98,7 @@ static inline std::string _mkDefaultHomePath()
|
||||
#endif
|
||||
}
|
||||
|
||||
Defaults::Defaults()
|
||||
throw(std::runtime_error) :
|
||||
Defaults::Defaults() :
|
||||
#ifdef ZT_TRACE_MULTICAST
|
||||
multicastTraceWatcher(ZT_TRACE_MULTICAST),
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user