From 650233500eec90ebb33b5f25fab9b52635c2fd5e Mon Sep 17 00:00:00 2001 From: Alex Hultman Date: Sun, 28 Feb 2021 06:01:46 +0100 Subject: [PATCH] Fix fuzzing builds --- fuzzing/EpollEchoServer.cpp | 4 ++-- fuzzing/EpollHelloWorld.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fuzzing/EpollEchoServer.cpp b/fuzzing/EpollEchoServer.cpp index ba97741..50860ba 100644 --- a/fuzzing/EpollEchoServer.cpp +++ b/fuzzing/EpollEchoServer.cpp @@ -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) { diff --git a/fuzzing/EpollHelloWorld.cpp b/fuzzing/EpollHelloWorld.cpp index 16bcb92..6c60e85 100644 --- a/fuzzing/EpollHelloWorld.cpp +++ b/fuzzing/EpollHelloWorld.cpp @@ -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) {