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

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

commit 94cbd69ccae629b1cec6c7177cfdb430261d7e4b
Author: zclllyybb <zhaochan...@selectdb.com>
AuthorDate: Wed Jan 17 17:39:31 2024 +0800

     [Fix](compile) fix compile failure on newest clang (#30056)
    
    fix compile failure on newest clang
---
 be/src/service/backend_service.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/be/src/service/backend_service.cpp 
b/be/src/service/backend_service.cpp
index fb98d60dce4..72a89f884b2 100644
--- a/be/src/service/backend_service.cpp
+++ b/be/src/service/backend_service.cpp
@@ -787,14 +787,14 @@ void BackendService::ingest_binlog(TIngestBinlogResult& 
result,
     bool is_async = (_ingest_binlog_workers != nullptr);
     result.__set_is_async(is_async);
 
-    auto ingest_binlog_func = [=, tstatus = &tstatus]() {
+    auto ingest_binlog_func = [=, this, tstatus = &tstatus]() {
         IngestBinlogArg ingest_binlog_arg = {
                 .txn_id = txn_id,
                 .partition_id = partition_id,
                 .local_tablet_id = local_tablet_id,
                 .local_tablet = local_tablet,
 
-                .request = std::move(request),
+                .request = request,
                 .tstatus = is_async ? nullptr : tstatus,
         };
 


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

Reply via email to