refactor: Remove no longer needed clang-15 workaround for std::span

This commit is contained in:
MarcoFalke 2024-06-26 18:51:42 +02:00
parent 9999dbc1bd
commit fa8f53273c
No known key found for this signature in database

View file

@ -131,7 +131,7 @@ public:
*/
void WriteReply(int nStatus, std::string_view reply = "")
{
WriteReply(nStatus, std::as_bytes(std::span{reply.data(), reply.size()}));
WriteReply(nStatus, std::as_bytes(std::span{reply}));
}
void WriteReply(int nStatus, std::span<const std::byte> reply);
};