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

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new cac089c7cd [fix](compile) fix mac compile sort failed #24453
cac089c7cd is described below

commit cac089c7cda186d74c359c4d4d788be1bee28ec1
Author: yujun <yu.jun.re...@gmail.com>
AuthorDate: Sat Sep 16 09:52:20 2023 +0800

    [fix](compile) fix mac compile sort failed #24453
---
 be/src/olap/storage_engine.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/olap/storage_engine.cpp b/be/src/olap/storage_engine.cpp
index 6353efaec7..0c517bf42c 100644
--- a/be/src/olap/storage_engine.cpp
+++ b/be/src/olap/storage_engine.cpp
@@ -449,7 +449,7 @@ std::vector<DataDir*> 
StorageEngine::get_stores_for_create_tablet(
 
         int tablet_num;
 
-        bool operator<(const DirInfo& other) {
+        bool operator<(const DirInfo& other) const {
             if (available_level != other.available_level) {
                 return available_level < other.available_level;
             }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to