Fix warning

This commit is contained in:
Vinnie Falco
2019-02-27 13:11:48 -08:00
parent 5af7ad2e15
commit ad48837872
2 changed files with 12 additions and 0 deletions

View File

@@ -42,6 +42,14 @@ async_teardown(
//]
void
teardown(
role_type,
custom_stream&,
error_code&)
{
}
//[code_websocket_7_2
template <class NextLayer>
@@ -101,6 +109,9 @@ struct websocket_7_test
run() override
{
BEAST_EXPECT(&snippets);
BEAST_EXPECT(static_cast<void(*)(
role_type, custom_stream&, error_code&)>(
&teardown));
}
};

View File

@@ -88,6 +88,7 @@ struct websocket_8_test
run() override
{
BEAST_EXPECT(&snippets);
BEAST_EXPECT(&echo);
}
};