Skip to content

Workaround a lack of std::function support in QThreadPool < 5.15

Arjen Hiemstra requested to merge work/ahiemstra/cgroup_thread_514 into master

QThreadPool::start(std::function) was only introduced in Qt 5.15. This adds a workaround (basically importing the class from Qt 5.15) for earlier Qt versions.

Merge request reports

Loading