Add compiler flags (#850)

Fixes #435
This commit is contained in:
Sergey Kuznetsov
2023-10-02 16:45:48 +01:00
committed by GitHub
parent d1c41a8bb7
commit 69f5025a29
53 changed files with 383 additions and 382 deletions

View File

@@ -31,7 +31,7 @@ struct MockSession : public web::ConnectionBase
}
void
send(std::string&& msg, boost::beast::http::status status = boost::beast::http::status::ok) override
send(std::string&& msg, boost::beast::http::status = boost::beast::http::status::ok) override
{
message += msg;
}
@@ -43,15 +43,14 @@ struct MockSession : public web::ConnectionBase
struct MockDeadSession : public web::ConnectionBase
{
void
send(std::shared_ptr<std::string> _) override
void send(std::shared_ptr<std::string>) override
{
// err happen, the session should remove from subscribers
ec_.assign(2, boost::system::system_category());
}
void
send(std::string&& _, boost::beast::http::status __ = boost::beast::http::status::ok) override
send(std::string&&, boost::beast::http::status = boost::beast::http::status::ok) override
{
}