mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 05:17:26 +02:00
Don't test deprecated hooks
This commit is contained in:
committed by
Richard Hodges
parent
06a0b18b1d
commit
ca95101a88
@ -116,6 +116,7 @@ struct legacy_handler
|
||||
void
|
||||
test(F const& f)
|
||||
{
|
||||
#if !defined(BOOST_ASIO_NO_DEPRECATED)
|
||||
{
|
||||
bool hook_invoked = false;
|
||||
bool lambda_invoked = false;
|
||||
@ -150,6 +151,7 @@ struct legacy_handler
|
||||
asio_handler_is_continuation(&h);
|
||||
BEAST_EXPECT(hook_invoked);
|
||||
}
|
||||
#endif // !defined(BOOST_ASIO_NO_DEPRECATED)
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user