Commit 4a3050bf authored by CppPhil's avatar CppPhil

Disable warning in type_traits.hpp

parent dbdd11e9
......@@ -711,7 +711,7 @@ 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;
......
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