diff options
-rw-r--r-- | net-analyzer/ifstatus/files/ifstatus-1.1.0-gcc6.patch | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net-analyzer/ifstatus/files/ifstatus-1.1.0-gcc6.patch b/net-analyzer/ifstatus/files/ifstatus-1.1.0-gcc6.patch index 96402cb71b8e..760a09fbf2c6 100644 --- a/net-analyzer/ifstatus/files/ifstatus-1.1.0-gcc6.patch +++ b/net-analyzer/ifstatus/files/ifstatus-1.1.0-gcc6.patch @@ -1,12 +1,14 @@ --- a/Interface.h +++ b/Interface.h -@@ -57,7 +57,8 @@ +@@ -57,7 +57,11 @@ InterfaceData & operator=(InterfaceData & rInterfaceData); InterfaceData operator-(InterfaceData & rInterfaceData); -- + ++#if __cplusplus >= 201103L + InterfaceData & operator=(InterfaceData && rInterfaceData) = default; + InterfaceData(const InterfaceData&) = default; ++#endif private: unsigned long long m_ullReceived[eTotalTypes]; |