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

15 lines
397 B
Diff
Raw Normal View History

2018-01-10 20:14:08 +01:00
--- 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];