ifstatus: fix build

This commit is contained in:
Enno Boland 2018-01-10 20:14:08 +01:00
parent e96ab62d5d
commit 1985f8ea33
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,14 @@
--- 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];

View File

@ -1,7 +1,7 @@
# Template file for 'ifstatus'
pkgname=ifstatus
version=1.1.0
revision=1
revision=2
wrksrc=ifstatus
build_style=gnu-makefile
patch_args="-Np1"