diff options
Diffstat (limited to 'windows')
| -rw-r--r-- | windows/winroute/src/winroute/NetworkInterfaces.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/windows/winroute/src/winroute/NetworkInterfaces.h b/windows/winroute/src/winroute/NetworkInterfaces.h index 22ff4b79d0..bf1d53dddf 100644 --- a/windows/winroute/src/winroute/NetworkInterfaces.h +++ b/windows/winroute/src/winroute/NetworkInterfaces.h @@ -16,6 +16,9 @@ private: bool HasHighestMetric(PMIB_IPINTERFACE_ROW targetIface); public: + NetworkInterfaces(const NetworkInterfaces &) = delete; + NetworkInterfaces &operator=(const NetworkInterfaces &) = delete; + void EnsureIfaceMetricIsHighest(NET_LUID interfaceLuid); NetworkInterfaces(); bool SetTopMetricForInterfacesByAlias(const wchar_t *deviceAlias); |
