From ab156cbcd165e6f490e953b350b7f783ac6b46f9 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Fri, 27 Sep 2013 13:15:32 -0700 Subject: [PATCH] Fix is_continuation for boost version --- src/beast/modules/beast_asio/async/WrapHandler.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/beast/modules/beast_asio/async/WrapHandler.h b/src/beast/modules/beast_asio/async/WrapHandler.h index 7d28934fe..7134d2bc7 100644 --- a/src/beast/modules/beast_asio/async/WrapHandler.h +++ b/src/beast/modules/beast_asio/async/WrapHandler.h @@ -160,8 +160,12 @@ template bool asio_handler_is_continuation( WrappedHandler * this_handler) { +#if BEAST_ASIO_HAS_CONTINUATION_HOOKS return boost_asio_handler_cont_helpers::is_continuation( this_handler->handler()); +#else + return false; +#endif } template