This is an automated email from the ASF dual-hosted git repository.

eldenmoon pushed a commit to branch cs_opt_version-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 4328880bc3634eb8a2401811eeea99752356ac12
Author: eldenmoon <[email protected]>
AuthorDate: Thu Jul 10 13:03:34 2025 +0800

    fix compile
---
 be/src/olap/like_column_predicate.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/be/src/olap/like_column_predicate.h 
b/be/src/olap/like_column_predicate.h
index 7402d8c9f5a..de5ed6767b4 100644
--- a/be/src/olap/like_column_predicate.h
+++ b/be/src/olap/like_column_predicate.h
@@ -150,7 +150,7 @@ private:
         std::vector<bool>* res = nullptr;
         if (_segment_id_to_cached_res_flags.if_contains(
                     column.get_rowset_segment_id(),
-                    [&res](const auto& pair) { res = &pair.second; })) {
+                    [&res](auto& pair) { res = &pair.second; })) {
             return res;
         }
 
@@ -176,7 +176,7 @@ private:
         }
 
         _segment_id_to_cached_res_flags.if_contains(
-                column.get_rowset_segment_id(), [&res](const auto& pair) { res 
= &pair.second; });
+                column.get_rowset_segment_id(), [&res](auto& pair) { res = 
&pair.second; });
         return res;
     }
 
@@ -184,7 +184,7 @@ private:
             std::pair<RowsetId, uint32_t>, std::vector<bool>,
             phmap::priv::hash_default_hash<std::pair<RowsetId, uint32_t>>,
             phmap::priv::hash_default_eq<std::pair<RowsetId, uint32_t>>,
-            std::allocator<std::pair<const std::pair<RowsetId, uint32_t>, 
int32_t>>, 4,
+            std::allocator<std::pair<const std::pair<RowsetId, uint32_t>, 
std::vector<bool>>>, 4,
             std::shared_mutex>
             _segment_id_to_cached_res_flags;
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to