We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9999dbc commit fa8f532Copy full SHA for fa8f532
src/httpserver.h
@@ -131,7 +131,7 @@ class HTTPRequest
131
*/
132
void WriteReply(int nStatus, std::string_view reply = "")
133
{
134
- WriteReply(nStatus, std::as_bytes(std::span{reply.data(), reply.size()}));
+ WriteReply(nStatus, std::as_bytes(std::span{reply}));
135
}
136
void WriteReply(int nStatus, std::span<const std::byte> reply);
137
};
0 commit comments