Skip to content

Commit

Permalink
refactor: Remove no longer needed clang-15 workaround for std::span
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoFalke committed Jun 26, 2024
1 parent 9999dbc commit fa8f532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/httpserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class HTTPRequest
*/
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);
};
Expand Down

0 comments on commit fa8f532

Please sign in to comment.