Fix linter warnings

This commit is contained in:
badaix 2025-02-13 22:18:17 +01:00
parent 9d214375d3
commit 42f7f2698e
31 changed files with 131 additions and 116 deletions

View file

@ -165,7 +165,7 @@ ControlSessionHttp::ControlSessionHttp(ControlMessageReceiver* receiver, tcp_soc
ControlSessionHttp::~ControlSessionHttp()
{
LOG(DEBUG, LOG_TAG) << "ControlSessionHttp::~ControlSessionHttp()\n";
stop();
stop(); // NOLINT
}
@ -462,7 +462,7 @@ void ControlSessionHttp::on_read(beast::error_code ec, std::size_t bytes_transfe
// The lifetime of the message has to extend
// for the duration of the async operation so
// we use a shared_ptr to manage it.
using response_type = typename std::decay<decltype(response)>::type;
using response_type = typename std::decay<decltype(response)>::type; // NOLINT
auto sp = std::make_shared<response_type>(std::forward<decltype(response)>(response));
// Write the response