style: format function parameters for better readability
This commit is contained in:
parent
377ff71e1e
commit
3370c53d3e
@ -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
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user