Commit ff5129bb authored by Dominik Charousset's avatar Dominik Charousset

Merge pull request #1109

parents e3f7e64c 3add0907
......@@ -711,7 +711,8 @@ template <class T, class Arg>
struct can_apply {
template <class U>
static auto sfinae(U* x)
-> decltype(x->apply(std::declval<Arg>()), std::true_type{});
-> decltype(CAF_IGNORE_UNUSED(x->apply(std::declval<Arg>())),
std::true_type{});
template <class U>
static auto sfinae(...) -> std::false_type;
......
......@@ -33,7 +33,7 @@ namespace caf {
template <class> class behavior_type_of;
template <class> class dictionary;
template <class> class downstream;
template <class> class error_code;
template <class> class [[nodiscard]] error_code;
template <class> class expected;
template <class> class intrusive_cow_ptr;
template <class> class intrusive_ptr;
......@@ -106,7 +106,7 @@ class config_value;
class deserializer;
class downstream_manager;
class downstream_manager_base;
class error;
class [[nodiscard]] error;
class event_based_actor;
class execution_unit;
class forwarding_actor_proxy;
......
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