github-actions[bot] commented on code in PR #34805: URL: https://github.com/apache/doris/pull/34805#discussion_r1599325595
########## be/src/pipeline/pipeline_task.cpp: ########## @@ -218,7 +216,7 @@ bool PipelineTask::_wait_to_start() { return false; } -bool PipelineTask::_is_blocked() { +bool PipelineTask::is_blocked() { Review Comment: warning: method 'is_blocked' can be made const [readability-make-member-function-const] ```suggestion bool PipelineTask::is_blocked() const { ``` be/src/pipeline/pipeline_task.h:102: ```diff - bool is_blocked(); + bool is_blocked() 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