Commit bb01d8f5 authored by Marian Triebe's avatar Marian Triebe

Merge branch 'topic/gcc47_fixes'

parents 52213587 b3e3a7ea
......@@ -176,7 +176,7 @@ class fork_join {
f(job);
}
m_private_queue.clear();
auto next = [&] { return m_exposed_queue.try_pop(); };
auto next = [&] { return this->m_exposed_queue.try_pop(); };
for (auto job = next(); job != nullptr; job = next()) {
f(job);
}
......
......@@ -253,7 +253,7 @@ abstract_coordinator* abstract_coordinator::create_singleton() {
void abstract_coordinator::initialize() {
// launch threads of utility actors
auto ptr = m_timer.get();
m_timer_thread = std::thread{[ptr] { ptr->act(); }};
m_timer_thread = std::thread([ptr] { ptr->act(); });
m_printer_thread = std::thread{printer_loop, m_printer.get()};
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment