Fix is_continuation for boost version

This commit is contained in:
Vinnie Falco
2013-09-27 13:15:32 -07:00
parent c807a4e383
commit 026b9268ae

View File

@@ -160,8 +160,12 @@ template <typename Handler, typename Context>
bool asio_handler_is_continuation(
WrappedHandler <Handler, Context>* this_handler)
{
#if BEAST_ASIO_HAS_CONTINUATION_HOOKS
return boost_asio_handler_cont_helpers::is_continuation(
this_handler->handler());
#else
return false;
#endif
}
template <typename Function, typename Handler, typename Context>