mirror of
https://github.com/boostorg/beast.git
synced 2025-08-02 22:34:32 +02:00
Fix warning
This commit is contained in:
@@ -42,6 +42,14 @@ async_teardown(
|
|||||||
|
|
||||||
//]
|
//]
|
||||||
|
|
||||||
|
void
|
||||||
|
teardown(
|
||||||
|
role_type,
|
||||||
|
custom_stream&,
|
||||||
|
error_code&)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
//[code_websocket_7_2
|
//[code_websocket_7_2
|
||||||
|
|
||||||
template <class NextLayer>
|
template <class NextLayer>
|
||||||
@@ -101,6 +109,9 @@ struct websocket_7_test
|
|||||||
run() override
|
run() override
|
||||||
{
|
{
|
||||||
BEAST_EXPECT(&snippets);
|
BEAST_EXPECT(&snippets);
|
||||||
|
BEAST_EXPECT(static_cast<void(*)(
|
||||||
|
role_type, custom_stream&, error_code&)>(
|
||||||
|
&teardown));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -88,6 +88,7 @@ struct websocket_8_test
|
|||||||
run() override
|
run() override
|
||||||
{
|
{
|
||||||
BEAST_EXPECT(&snippets);
|
BEAST_EXPECT(&snippets);
|
||||||
|
BEAST_EXPECT(&echo);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user