forked from qt-creator/qt-creator
Fix GCC 6.2.1 build error
The build error is: src/tools/clangpchmanagerbackend/source/taskscheduler.h:93:17: error: cannot call member function ‘void ClangBackEnd::TaskScheduler<ProcessorManager, Task>::... without object executeInLoop([&] { m_queue.processEntries(); }); Change-Id: Ib1c9ad2b9db39be75f4af77cf95baf05fbc13415 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -90,7 +90,7 @@ public:
|
|||||||
for (auto &task : tasks) {
|
for (auto &task : tasks) {
|
||||||
auto callWrapper = [&, task = std::move(task)](auto processor) -> ProcessorInterface & {
|
auto callWrapper = [&, task = std::move(task)](auto processor) -> ProcessorInterface & {
|
||||||
task(processor.get());
|
task(processor.get());
|
||||||
executeInLoop([&] { m_queue.processEntries(); });
|
this->executeInLoop([&] { m_queue.processEntries(); });
|
||||||
|
|
||||||
return processor;
|
return processor;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user