github-actions[bot] commented on code in PR #18075:
URL: https://github.com/apache/doris/pull/18075#discussion_r1146462269
##########
be/src/runtime/memory/thread_mem_tracker_mgr.h:
##########
@@ -98,6 +98,8 @@ class ThreadMemTrackerMgr {
std::string exceed_mem_limit_msg() { return _exceed_mem_limit_msg; }
void clear_exceed_mem_limit_msg() { _exceed_mem_limit_msg = ""; }
void disable_wait_gc() { _wait_gc = false; }
+ bool wait_gc() { return _wait_gc; }
Review Comment:
warning: method 'wait_gc' can be made const
[readability-make-member-function-const]
```suggestion
bool wait_gc() const { return _wait_gc; }
```
--
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]