Skip to content

Commit fa8f532

Browse files
author
MarcoFalke
committed
refactor: Remove no longer needed clang-15 workaround for std::span
1 parent 9999dbc commit fa8f532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/httpserver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class HTTPRequest
131131
*/
132132
void WriteReply(int nStatus, std::string_view reply = "")
133133
{
134-
WriteReply(nStatus, std::as_bytes(std::span{reply.data(), reply.size()}));
134+
WriteReply(nStatus, std::as_bytes(std::span{reply}));
135135
}
136136
void WriteReply(int nStatus, std::span<const std::byte> reply);
137137
};

0 commit comments

Comments
 (0)