github-actions[bot] commented on code in PR #28493:
URL: https://github.com/apache/doris/pull/28493#discussion_r1428652922


##########
be/src/pipeline/task_scheduler.cpp:
##########
@@ -48,12 +48,13 @@
 
 namespace doris::pipeline {
 
-BlockedTaskScheduler::BlockedTaskScheduler() : _started(false), 
_shutdown(false) {}
+BlockedTaskScheduler::BlockedTaskScheduler(std::string name)

Review Comment:
   warning: pass by value and use std::move [modernize-pass-by-value]
   
   be/src/pipeline/task_scheduler.cpp:32:
   ```diff
   
   + #include <utility>
   ```
   
   be/src/pipeline/task_scheduler.cpp:51:
   ```diff
   -         : _name(name), _started(false), _shutdown(false) {}
   +         : _name(std::move(name)), _started(false), _shutdown(false) {}
   ```
   



-- 
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