style: format function parameters for better readability

This commit is contained in:
whaffman 2025-10-16 01:15:38 +02:00
parent 377ff71e1e
commit 3370c53d3e
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,6 @@
#include <webserv/config/directive/SizeDirective.hpp> // for SizeDirective
#include <webserv/config/directive/ADirective.hpp> // for ADirective
#include <webserv/config/directive/DirectiveValue.hpp> // for DirectiveValueType
#include <webserv/config/directive/SizeDirective.hpp> // for SizeDirective
#include <webserv/utils/utils.hpp> // for trim
#include <algorithm> // for __transform_fn, transform

View File

@ -37,7 +37,8 @@ std::optional<std::string> HttpHeaders::getHost() const noexcept
return value;
}
void HttpHeaders::add(const std::string &name, const std::string &value) noexcept// NOLINT(bugprone-easily-swappable-parameters)
void HttpHeaders::add(const std::string &name,
const std::string &value) noexcept // NOLINT(bugprone-easily-swappable-parameters)
{
std::string lower = name;
std::ranges::transform(lower, lower.begin(), ::tolower);