From 026b9268aef11cba35a6ddceaaf415d092089082 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 --- modules/beast_asio/async/WrapHandler.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/beast_asio/async/WrapHandler.h b/modules/beast_asio/async/WrapHandler.h index 7d28934fe..7134d2bc7 100644 --- a/modules/beast_asio/async/WrapHandler.h +++ b/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