diff options
Diffstat (limited to 'src/routingTree.hpp')
-rw-r--r-- | src/routingTree.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/routingTree.hpp b/src/routingTree.hpp index c75aef5..645b84d 100644 --- a/src/routingTree.hpp +++ b/src/routingTree.hpp @@ -32,6 +32,8 @@ #ifndef __ROUTING_TREE_ #define __ROUTING_TREE_ +#include "anytunError.hpp" + class RoutingTree { public: @@ -91,7 +93,7 @@ public: } } if(!valid) - throw std::runtime_error("no route"); + AnytunError::throwErr() << "no route"; return mux; } |