void-packages/srcpkgs/ifstatus/patches/ifstatus-1.1.0-gcc6.patch

15 lines
397 B
Diff

--- a/Interface.h
+++ b/Interface.h
@@ -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];