- 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_;
- boost::array<RoutingTreeNode,3> root_;
+ 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_;
+ boost::array<RoutingTreeNode,3> root_;