mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-08 05:46:38 +02:00
otherwise compiling against the headers fails with:
/usr/include/KAsync/future.h:520:5: error: expected unqualified-id before 'const'
520 | Q_DISABLE_COPY(FutureWatcher<T>)
| ^~~~~~~~~~~~~~
/usr/include/KAsync/future.h:520:5: error: expected ')' before 'const'
520 | Q_DISABLE_COPY(FutureWatcher<T>)
| ^~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qshareddata.h:43,
from /usr/include/qt5/QtCore/QSharedDataPointer:1,
12 lines
179 B
Diff
12 lines
179 B
Diff
--- a/src/future.h
|
|
+++ b/src/future.h
|
|
@@ -517,7 +517,7 @@
|
|
#endif
|
|
|
|
private:
|
|
- Q_DISABLE_COPY(FutureWatcher<T>)
|
|
+ Q_DISABLE_COPY(FutureWatcher)
|
|
};
|
|
|
|
} // namespace Async
|