summaryrefslogtreecommitdiff
path: root/node/Defaults.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-18 14:16:53 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-18 14:16:53 -0400
commitca93b4a1ac9d07ea150572801fd47f9a0818abff (patch)
tree8ec8916b82baab567a3d9cc66471b866f8ef1809 /node/Defaults.cpp
parent03b909603ae6010d7bf059de688c0cfe0f96a0a3 (diff)
downloadinfinitytier-ca93b4a1ac9d07ea150572801fd47f9a0818abff.tar.gz
infinitytier-ca93b4a1ac9d07ea150572801fd47f9a0818abff.zip
Clean up some stuff, including a few spots where exceptions were not being handled correctly.
Diffstat (limited to 'node/Defaults.cpp')
-rw-r--r--node/Defaults.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/node/Defaults.cpp b/node/Defaults.cpp
index 8e3a8c9f..0a0003b0 100644
--- a/node/Defaults.cpp
+++ b/node/Defaults.cpp
@@ -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