xinyiZzz commented on code in PR #52553:
URL: https://github.com/apache/doris/pull/52553#discussion_r2215104679


##########
be/src/vec/common/pod_array.h:
##########
@@ -265,6 +292,14 @@ class PODArrayBase : private boost::noncopyable,
             realloc(allocated_bytes() * 2, 
std::forward<TAllocatorParams>(allocator_params)...);
     }
 
+    /// Virtual memory allocated from Allocator, usually only used by PODArray 
itself.
+    size_t capacity_bytes() const {

Review Comment:
   这里 protected 就是只有 PodArrayBase 及其子类可以看到了



-- 
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]

Reply via email to