Misc: Pass std::chrono types by value everywhere.
This commit is contained in:
1 parent
3167005650
commit
f441d36d78
20 files changed
+37
-36
No files matched your search
@@ -1034,7 +1034,7 @@ private:
|
||||
// Wait for the current build job to finish, if the job finishes in time
|
||||
// evaluate it and continue with the next one.
|
||||
if (_build_job->GetProcess()->GetFutureResult().
|
||||
wait_for(std::chrono::seconds(0)) == std::future_status::ready)
|
||||
wait_for(0s) == std::future_status::ready)
|
||||
ProcessReadyBuildJob();
|
||||
else
|
||||
return; // Return when the job didn't finish in time
|
||||
|
||||
Reference in new issue
Block a user