mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-03 19:31:43 +02:00
Fix linter warnings
This commit is contained in:
parent
9d214375d3
commit
42f7f2698e
31 changed files with 131 additions and 116 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue