summaryrefslogtreecommitdiff
path: root/src/routingTable.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2014-06-29 00:06:23 +0000
committerChristian Pointner <equinox@anytun.org>2014-06-29 00:06:23 +0000
commit92a551b96e625257def26771155ebd64c6d8757e (patch)
tree7d5b2d0a043f746bfb10ccc9679ac59646a95b72 /src/routingTable.h
parentwhile(1) vs. for(;;) (diff)
fixed not working singletons - still not threadsafe but at least they don't pretend to be
Diffstat (limited to 'src/routingTable.h')
-rw-r--r--src/routingTable.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/routingTable.h b/src/routingTable.h
index c7e68e4..3171930 100644
--- a/src/routingTable.h
+++ b/src/routingTable.h
@@ -63,17 +63,6 @@ public:
RoutingMap::iterator getEndUnlocked(network_address_type_t type);
private:
- static Mutex instMutex;
- static RoutingTable* inst;
- class instanceCleaner
- {
- public:
- ~instanceCleaner() {
- if(RoutingTable::inst != 0) {
- delete RoutingTable::inst;
- }
- }
- };
RoutingTable(const RoutingTable& s);
void operator=(const RoutingTable& s);
boost::array<RoutingMap,3> routes_;