mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-05 09:46:53 +00:00
refactor: Enable remaining clang-tidy cppcoreguidelines checks (#6538)
This commit is contained in:
@@ -87,7 +87,7 @@ class ServerStatus_test : public beast::unit_test::suite, public beast::test::en
|
||||
std::random_device rd;
|
||||
std::mt19937 e{rd()};
|
||||
std::uniform_int_distribution<> d(0, 255);
|
||||
std::array<std::uint8_t, 16> key;
|
||||
std::array<std::uint8_t, 16> key{};
|
||||
for (auto& v : key)
|
||||
v = d(e);
|
||||
req.insert("Sec-WebSocket-Key", base64_encode(key.data(), key.size()));
|
||||
@@ -132,7 +132,7 @@ class ServerStatus_test : public beast::unit_test::suite, public beast::test::en
|
||||
void
|
||||
doRequest(
|
||||
boost::asio::yield_context& yield,
|
||||
boost::beast::http::request<boost::beast::http::string_body>&& req,
|
||||
boost::beast::http::request<boost::beast::http::string_body> const& req,
|
||||
std::string const& host,
|
||||
uint16_t port,
|
||||
bool secure,
|
||||
|
||||
Reference in New Issue
Block a user