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

@@ -174,7 +174,7 @@ public:
}
void
operator()(boost::beast::error_code ec, std::shared_ptr<web::ConnectionBase> const& ws)
operator()(boost::beast::error_code /* ec */, std::shared_ptr<web::ConnectionBase> const& /* ws */)
{
}
};
@@ -183,13 +183,13 @@ class ExceptionExecutor
{
public:
void
operator()(std::string const& req, std::shared_ptr<web::ConnectionBase> const& ws)
operator()(std::string const& /* req */, std::shared_ptr<web::ConnectionBase> const& /* ws */)
{
throw std::runtime_error("MyError");
}
void
operator()(boost::beast::error_code ec, std::shared_ptr<web::ConnectionBase> const& ws)
operator()(boost::beast::error_code /* ec */, std::shared_ptr<web::ConnectionBase> const& /* ws */)
{
}
};