Commit 4d17b790 authored by Marian Triebe's avatar Marian Triebe

Fix compile errors with GCC 4.7, relates #177

parent 24ab3a81
...@@ -170,8 +170,6 @@ class lifted_fun { ...@@ -170,8 +170,6 @@ class lifted_fun {
lifted_fun() = default; lifted_fun() = default;
lifted_fun(lifted_fun&&) = default;
lifted_fun(const lifted_fun&) = default; lifted_fun(const lifted_fun&) = default;
lifted_fun& operator=(lifted_fun&&) = default; lifted_fun& operator=(lifted_fun&&) = default;
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <typeinfo> #include <typeinfo>
#include <type_traits> #include <type_traits>
#include <cstddef>
#include "caf/unit.hpp" #include "caf/unit.hpp"
......
...@@ -173,8 +173,8 @@ class invoke_policy { ...@@ -173,8 +173,8 @@ class invoke_policy {
// recursively call invoke_fun on the // recursively call invoke_fun on the
// result to correctly handle stuff like // result to correctly handle stuff like
// sync_send(...).then(...).then(...)... // sync_send(...).then(...).then(...)...
return invoke_fun(self, intermediate, return this->invoke_fun(self, intermediate,
mutable_mid, f2, fhdl); mutable_mid, f2, fhdl);
} }
return none; return none;
}); });
......
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