mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 02:27:38 -07:00
More cleanup of old stuff.
This commit is contained in:
parent
939ab43ceb
commit
6d8e1e8783
9 changed files with 24 additions and 66 deletions
|
@ -60,7 +60,6 @@
|
|||
#include <set>
|
||||
#include <atomic>
|
||||
|
||||
#include "../node/NonCopyable.hpp"
|
||||
#include "../node/InetAddress.hpp"
|
||||
#include "../node/Mutex.hpp"
|
||||
#include "../node/Utils.hpp"
|
||||
|
@ -87,7 +86,7 @@ namespace ZeroTier {
|
|||
* On OSes that do not support local port enumeration or where this is not
|
||||
* meaningful, this degrades to binding to wildcard.
|
||||
*/
|
||||
class Binder : NonCopyable
|
||||
class Binder
|
||||
{
|
||||
private:
|
||||
struct _Binding
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
#include "../node/Utils.hpp"
|
||||
#include "../node/SharedPtr.hpp"
|
||||
#include "../node/AtomicCounter.hpp"
|
||||
#include "../node/NonCopyable.hpp"
|
||||
|
||||
#include <stdexcept>
|
||||
#include <vector>
|
||||
|
@ -45,7 +44,7 @@ namespace ZeroTier {
|
|||
/**
|
||||
* A ZT-managed route that used C++ RAII semantics to automatically clean itself up on deallocate
|
||||
*/
|
||||
class ManagedRoute : NonCopyable
|
||||
class ManagedRoute
|
||||
{
|
||||
friend class SharedPtr<ManagedRoute>;
|
||||
|
||||
|
@ -91,6 +90,9 @@ public:
|
|||
inline const char *device() const { return _device; }
|
||||
|
||||
private:
|
||||
ManagedRoute(const ManagedRoute &) {}
|
||||
inline ManagedRoute &operator=(const ManagedRoute &) { return *this; }
|
||||
|
||||
InetAddress _target;
|
||||
InetAddress _via;
|
||||
InetAddress _systemVia; // for route overrides
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue