PragmaTwice commented on code in PR #3317:
URL: https://github.com/apache/kvrocks/pull/3317#discussion_r2655093492


##########
src/types/redis_string.h:
##########
@@ -34,6 +34,12 @@ struct StringPair {
   Slice value;
 };
 
+struct DelExOption {
+  enum class Type { NONE, IFDEQ, IFDNE, IFEQ, IFNE };
+  Type type;
+  std::string value;
+};

Review Comment:
   ```suggestion
   struct DelExOption {
     enum class Type { NONE, IFDEQ, IFDNE, IFEQ, IFNE };
     Type type;
     std::string value;
     
     DelExOption() : type(None) {}
     DelExOption(Type type, std::string value) : type(type), 
value(std::move(value)) {}
   };
   ```



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