Misc: Pass std::chrono types by value everywhere.

This commit is contained in:
Treeston
2018-07-18 17:48:15 +02:00
parent f93cb448f1
commit 2ef9d301f0
20 changed files with 36 additions and 36 deletions

View File

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