RiversJin commented on code in PR #2627:
URL: https://github.com/apache/kvrocks/pull/2627#discussion_r1823720600
##########
src/server/redis_reply.h:
##########
@@ -39,7 +40,9 @@ namespace redis {
enum class RESP { v2, v3 };
void Reply(evbuffer *output, const std::string &data);
-std::string SimpleString(const std::string &data);
+std::string SimpleString(std::string_view data);
+
+static inline std::string RESP_OK = RESP_PREFIX_SIMPLE_STRING "OK" CRLF;
Review Comment:
sorry hhh
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]