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

@@ -35,8 +35,6 @@ make_WsContext(
string const& clientIp,
std::reference_wrapper<APIVersionParser const> apiVersionParser)
{
using Error = Unexpected<Status>;
boost::json::value commandValue = nullptr;
if (!request.contains("command") && request.contains("method"))
commandValue = request.at("method");
@@ -63,8 +61,6 @@ make_HttpContext(
string const& clientIp,
std::reference_wrapper<APIVersionParser const> apiVersionParser)
{
using Error = Unexpected<Status>;
if (!request.contains("method"))
return Error{{ClioError::rpcCOMMAND_IS_MISSING}};