diff options
Diffstat (limited to 'osdep/ManagedRoute.hpp')
-rw-r--r-- | osdep/ManagedRoute.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/osdep/ManagedRoute.hpp b/osdep/ManagedRoute.hpp index 86468a45..ca71b18b 100644 --- a/osdep/ManagedRoute.hpp +++ b/osdep/ManagedRoute.hpp @@ -32,6 +32,7 @@ public: ManagedRoute(const ManagedRoute &r) { + _applied = false; *this = r; } @@ -40,7 +41,8 @@ public: if ((!_applied)&&(!r._applied)) { memcpy(this,&r,sizeof(ManagedRoute)); // InetAddress is memcpy'able } else { - throw std::runtime_error("Applied ManagedRoute is non-copyable!"); + fprintf(stderr,"Applied ManagedRoute isn't copyable!\n"); + abort(); } return *this; } |