Linux bug fixes, small controller fix.
This commit is contained in:
parent
601c51b351
commit
37afa876a7
6 changed files with 22 additions and 19 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue