github-actions[bot] commented on code in PR #16987:
URL: https://github.com/apache/doris/pull/16987#discussion_r1112731759
##########
be/src/olap/rowset/segment_v2/segment.h:
##########
@@ -116,6 +116,8 @@ class Segment : public
std::enable_shared_from_this<Segment> {
io::FileReaderSPtr file_reader() { return _file_reader; }
+ int64_t meta_mem_usage() { return _meta_mem_usage; }
Review Comment:
warning: method 'meta_mem_usage' can be made const
[readability-make-member-function-const]
```suggestion
int64_t meta_mem_usage() const { return _meta_mem_usage; }
```
--
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]