mapleFU commented on PR #2627:
URL: https://github.com/apache/kvrocks/pull/2627#issuecomment-2444471497

   > 
   Since std::string_view cannot be implicitly converted to std::string, and I 
want to implement RESP_OK as a constexpr variable, I changed it to use 
constexpr char[].
   
   This not fixes the problem, we can either use `const static inline 
std::string`, or just cast once on "Reply". `const char[]` to `std::string` 
also applies copy...


-- 
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]

Reply via email to