github-actions[bot] commented on code in PR #35751:
URL: https://github.com/apache/doris/pull/35751#discussion_r1623083352


##########
be/src/olap/rowset/segment_v2/zone_map_index.cpp:
##########
@@ -173,9 +175,18 @@ Status ZoneMapIndexReader::_load(bool use_page_cache, bool 
kept_in_memory,
             return Status::Corruption("Failed to parse zone map");
         }
     }
+
+    g_zone_map_memory_bytes << sizeof(*this) + sizeof(ZoneMapPB) * 
_page_zone_maps.size() +
+                                       sizeof(IndexedColumnMetaPB);
+
     return Status::OK();
 }
 
+ZoneMapIndexReader::~ZoneMapIndexReader() {

Review Comment:
   warning: use '= default' to define a trivial destructor 
[modernize-use-equals-default]
   ```cpp
   ZoneMapIndexReader::~ZoneMapIndexReader() {
                       ^
   ```
   



##########
be/src/olap/rowset/segment_v2/ordinal_page_index.cpp:
##########
@@ -146,5 +154,11 @@ OrdinalPageIndexIterator 
OrdinalIndexReader::seek_at_or_before(ordinal_t ordinal
     return OrdinalPageIndexIterator(this, left);
 }
 
+OrdinalIndexReader::~OrdinalIndexReader() {

Review Comment:
   warning: use '= default' to define a trivial destructor 
[modernize-use-equals-default]
   ```cpp
   OrdinalIndexReader::~OrdinalIndexReader() {
                       ^
   ```
   



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

Reply via email to