github-actions[bot] commented on code in PR #41676: URL: https://github.com/apache/doris/pull/41676#discussion_r1795382769
########## be/src/vec/runtime/vdata_stream_recvr.cpp: ########## @@ -405,9 +395,9 @@ Status VDataStreamRecvr::add_block(const PBlock& pblock, int sender_id, int be_n wait_for_worker, time_to_find_recvr); } -void VDataStreamRecvr::add_block(Block* block, int sender_id, bool use_move) { +void VDataStreamRecvr::add_block(Block* block, int sender_id) { Review Comment: warning: method 'add_block' can be made const [readability-make-member-function-const] ```suggestion void VDataStreamRecvr::add_block(Block* block, int sender_id) const { ``` be/src/vec/runtime/vdata_stream_recvr.h:88: ```diff - void add_block(Block* block, int sender_id); + void add_block(Block* block, int sender_id) 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