Add clang tidy (#864)

Fixes #863
This commit is contained in:
Sergey Kuznetsov
2023-10-03 10:43:54 +01:00
committed by GitHub
parent 69f5025a29
commit 4b53bef1f5
198 changed files with 2168 additions and 1288 deletions

View File

@@ -22,6 +22,7 @@
#include <util/Taggable.h>
#include <boost/beast/http.hpp>
#include <utility>
namespace web {
@@ -47,11 +48,12 @@ public:
* @param tagFactory The factory that generates tags to track sessions and requests
* @param ip The IP address of the connected peer
*/
ConnectionBase(util::TagDecoratorFactory const& tagFactory, std::string ip) : Taggable(tagFactory), clientIp(ip)
ConnectionBase(util::TagDecoratorFactory const& tagFactory, std::string ip)
: Taggable(tagFactory), clientIp(std::move(ip))
{
}
virtual ~ConnectionBase() = default;
~ConnectionBase() override = default;
/**
* @brief Send the response to the client.