github-actions[bot] commented on code in PR #31214:
URL: https://github.com/apache/doris/pull/31214#discussion_r1501754329


##########
be/src/io/fs/file_writer.h:
##########
@@ -54,7 +54,13 @@ class FileWriter {
     // Normal close. Wait for all data to persist before returning.
     virtual Status close() = 0;
 
-    Status append(const Slice& data) { return appendv(&data, 1); }
+    Status append(const Slice& data) {
+        auto addr = &data;

Review Comment:
   warning: 'auto addr' can be declared as 'const auto *addr' 
[readability-qualified-auto]
   
   ```suggestion
           const auto *addr = &data;
   ```
   



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to