Fix fuzzing builds

This commit is contained in:
Alex Hultman
2021-02-28 06:01:46 +01:00
parent 8089063504
commit 650233500e
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -65,10 +65,10 @@ void test() {
.drain = [](auto *ws) {
/* Check getBufferedAmount here */
},
.ping = [](auto *ws) {
.ping = [](auto *ws, std::string_view) {
},
.pong = [](auto *ws) {
.pong = [](auto *ws, std::string_view) {
},
.close = [](auto *ws, int code, std::string_view message) {
+2 -2
View File
@@ -80,13 +80,13 @@ void test() {
.drain = [](auto *ws) {
/* Check ws->getBufferedAmount() here */
},
.ping = [](auto *ws) {
.ping = [](auto *ws, std::string_view) {
/* We use this to trigger the async/wakeup feature */
uWS::Loop::get()->defer([]() {
/* Do nothing */
});
},
.pong = [](auto *ws) {
.pong = [](auto *ws, std::string_view) {
/* Not implemented yet */
},
.close = [](auto *ws, int code, std::string_view message) {