bobhan1 commented on code in PR #53824:
URL: https://github.com/apache/doris/pull/53824#discussion_r2261855090


##########
be/src/cloud/cloud_warm_up_manager.cpp:
##########
@@ -145,7 +145,8 @@ void CloudWarmUpManager::submit_download_tasks(io::Path 
path, int64_t file_size,
                                 .is_dryrun = 
config::enable_reader_dryrun_when_download_file_cache,
                         },
                 .download_done =
-                        [=](Status st) {
+                        [&](Status st) {
+                            if (done_cb != nullptr) done_cb(st);

Review Comment:
   ```suggestion
                               if (done_cb) done_cb(st);
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to