github-actions[bot] commented on code in PR #42678:
URL: https://github.com/apache/doris/pull/42678#discussion_r1820038531
##########
be/src/vec/core/block.cpp:
##########
@@ -1083,7 +1083,7 @@ Status MutableBlock::add_rows(const Block* block, size_t
row_begin, size_t lengt
return Status::OK();
}
-Status MutableBlock::add_rows(const Block* block, std::vector<int64_t> rows) {
+Status MutableBlock::add_rows(const Block* block, const std::vector<int64_t>&
rows) {
Review Comment:
warning: method 'add_rows' can be made const
[readability-make-member-function-const]
```suggestion
Status MutableBlock::add_rows(const Block* block, const
std::vector<int64_t>& rows) 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]