Commit 9ddc8b01 authored by Marian Triebe's avatar Marian Triebe

Merge branch 'topic/gcc47_fixes' into develop

parents e90a3f09 b3e3a7ea
Version 0.10.2
--------------
__2014_08_07__
- Improved CMake build script
- Added workaround for Protobuf example with incomplete installations
- Resolved several issues when building for MinGW 64
- Fixed casing issue in FindLibcaf.cmake
- Fixed access modifier of `event_based_actor::forward_to`
Version 0.10.1 Version 0.10.1
-------------- --------------
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
* whereas each number is a two-digit decimal number without * whereas each number is a two-digit decimal number without
* leading zeros (e.g. 900 is version 0.9.0). * leading zeros (e.g. 900 is version 0.9.0).
*/ */
#define CAF_VERSION 1001 #define CAF_VERSION 1002
#define CAF_MAJOR_VERSION (CAF_VERSION / 10000) #define CAF_MAJOR_VERSION (CAF_VERSION / 10000)
#define CAF_MINOR_VERSION ((CAF_VERSION / 100) % 100) #define CAF_MINOR_VERSION ((CAF_VERSION / 100) % 100)
......
...@@ -176,7 +176,7 @@ class fork_join { ...@@ -176,7 +176,7 @@ class fork_join {
f(job); f(job);
} }
m_private_queue.clear(); 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()) { for (auto job = next(); job != nullptr; job = next()) {
f(job); f(job);
} }
......
...@@ -253,7 +253,7 @@ abstract_coordinator* abstract_coordinator::create_singleton() { ...@@ -253,7 +253,7 @@ abstract_coordinator* abstract_coordinator::create_singleton() {
void abstract_coordinator::initialize() { void abstract_coordinator::initialize() {
// launch threads of utility actors // launch threads of utility actors
auto ptr = m_timer.get(); 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()}; 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