Clean up some stuff, including a few spots where exceptions were not being handled correctly.
This commit is contained in:
parent
03b909603a
commit
ca93b4a1ac
15 changed files with 42 additions and 66 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue