QThreadPool: wrap the #include <functional> in QT_CORE_REMOVED_SINCE
Might improve compilation time a little for people using this header.
Amends 0e7e1c3396.
Change-Id: Ic5b1273bb0204c31afd8fffd17cd558e4578c359
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
bb10
parent
55c6d6c86b
commit
4641945e45
|
|
@ -9,7 +9,9 @@
|
|||
#include <QtCore/qthread.h>
|
||||
#include <QtCore/qrunnable.h>
|
||||
|
||||
#if QT_CORE_REMOVED_SINCE(6, 6)
|
||||
#include <functional>
|
||||
#endif
|
||||
|
||||
QT_REQUIRE_CONFIG(thread);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue