From 7a556d8472582364e0048bebca014137a514b8c1 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Fri, 17 May 2024 14:53:49 +0800 Subject: [PATCH] fix fsm_is_invocable --- src/sled/nonstd/fsm.h | 2 +- tests/asio_test.cc | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/sled/nonstd/fsm.h b/src/sled/nonstd/fsm.h index 2e72ba6..8957825 100644 --- a/src/sled/nonstd/fsm.h +++ b/src/sled/nonstd/fsm.h @@ -42,7 +42,7 @@ template using invoke_result_t = std::invoke_result_t; template -using is_invocable = std::is_invocable; +using fms_is_invocable = std::is_invocable; #elif __cplusplus >= 201103L || _MSVC_LANG >= 201103L template using invoke_result_t = typename std::result_of::type; diff --git a/tests/asio_test.cc b/tests/asio_test.cc index 747fbf7..d284cde 100644 --- a/tests/asio_test.cc +++ b/tests/asio_test.cc @@ -34,6 +34,5 @@ TEST_SUITE("asio") { ctx.run(); CHECK_EQ(x, 5); } - } }