This is an automated email from the ASF dual-hosted git repository.
panxiaolei 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 771e3502846 [Fix](compile) fix compile failure on newest clang
(#30056)
771e3502846 is described below
commit 771e350284605422fa2faec29b99fa64676d81ac
Author: zclllyybb <[email protected]>
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 aa7d5a3c9a9..3fa1f16e7e9 100644
--- a/be/src/service/backend_service.cpp
+++ b/be/src/service/backend_service.cpp
@@ -793,14 +793,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: [email protected]
For additional commands, e-mail: [email protected]