File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ ErrorCode Sender::start() {
330
330
<< ports_ << " ]" ;
331
331
startTime_ = Clock::now ();
332
332
downloadResumptionEnabled_ = options.enable_download_resumption ;
333
- dirThread_ = std::move ( dirQueue_->buildQueueAsynchronously () );
333
+ dirThread_ = dirQueue_->buildQueueAsynchronously ();
334
334
if (twoPhases) {
335
335
dirThread_.join ();
336
336
}
Original file line number Diff line number Diff line change @@ -252,8 +252,7 @@ void TransferLogManager::openLog() {
252
252
}
253
253
if (!options.resume_using_dir_tree ) {
254
254
// start writer thread
255
- writerThread_ =
256
- std::move (std::thread (&TransferLogManager::writeEntriesToDisk, this ));
255
+ writerThread_ = std::thread (&TransferLogManager::writeEntriesToDisk, this );
257
256
LOG (INFO) << " Log writer thread started" ;
258
257
}
259
258
}
You can’t perform that action at this time.
0 commit comments