fix fsm_is_invocable
This commit is contained in:
parent
812fb1b927
commit
7a556d8472
@ -42,7 +42,7 @@ template<class F, class... Args>
|
||||
using invoke_result_t = std::invoke_result_t<F, Args...>;
|
||||
|
||||
template<class F, class... Args>
|
||||
using is_invocable = std::is_invocable<F, Args...>;
|
||||
using fms_is_invocable = std::is_invocable<F, Args...>;
|
||||
#elif __cplusplus >= 201103L || _MSVC_LANG >= 201103L
|
||||
template<class F, class... Args>
|
||||
using invoke_result_t = typename std::result_of<F && (Args && ...)>::type;
|
||||
|
@ -34,6 +34,5 @@ TEST_SUITE("asio") {
|
||||
ctx.run();
|
||||
CHECK_EQ(x, 5);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user