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


##########
be/src/util/runtime_profile.cpp:
##########
@@ -625,6 +712,62 @@ std::string RuntimeProfile::print_json_info(const 
std::string& profile_name, std
     return s.GetString();
 }
 
+void RuntimeProfile::to_proto(PRuntimeProfileTree* tree) {

Review Comment:
   warning: method 'to_proto' can be made const 
[readability-make-member-function-const]
   
   be/src/util/runtime_profile.h:343:
   ```diff
   -     void to_proto(PRuntimeProfileTree* tree);
   +     void to_proto(PRuntimeProfileTree* tree) const;
   ```
   
   ```suggestion
   void RuntimeProfile::to_proto(PRuntimeProfileTree* tree) const {
   ```
   



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