PragmaTwice opened a new issue, #2212:
URL: https://github.com/apache/kvrocks/issues/2212

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/kvrocks/issues) and found no similar issues.
   
   
   ### Version
   
   unstable
   
   ### Minimal reproduce step
   
   ```
   /home/runner/work/kvrocks/kvrocks/src/types/redis_zset.cc:220:46: warning: 
designated initializers are a C++20 extension [-Wc++20-designator]
     rocksdb::Status s = GetMetadata(GetOptions{.snapshot = ss.GetSnapShot()}, 
ns_key, &metadata);
   ```
   
   ### What did you expect to see?
   
   no warning
   
   ### What did you see instead?
   
   ```
   /home/runner/work/kvrocks/kvrocks/src/types/redis_zset.cc:220:46: warning: 
designated initializers are a C++20 extension [-Wc++20-designator]
     rocksdb::Status s = GetMetadata(GetOptions{.snapshot = ss.GetSnapShot()}, 
ns_key, &metadata);
   ```
   
   ### Anything Else?
   
   cc @maple
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


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