diff options
author | Treeston <treeston.mmoc@gmail.com> | 2018-07-18 17:48:15 +0200 |
---|---|---|
committer | Treeston <treeston.mmoc@gmail.com> | 2018-07-18 17:48:15 +0200 |
commit | 2ef9d301f0869b443122e2ba543af054c5b0e53c (patch) | |
tree | b4386edef8f6409f39958aced5787e0cc994d3df /src/server/game/Scripting/ScriptReloadMgr.cpp | |
parent | f93cb448f1d8b8346dff13fffacfd3c9f85edde0 (diff) |
Misc: Pass std::chrono types by value everywhere.
Diffstat (limited to 'src/server/game/Scripting/ScriptReloadMgr.cpp')
-rw-r--r-- | src/server/game/Scripting/ScriptReloadMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Scripting/ScriptReloadMgr.cpp b/src/server/game/Scripting/ScriptReloadMgr.cpp index 7fcbcc7566d..3e38adcfc43 100644 --- a/src/server/game/Scripting/ScriptReloadMgr.cpp +++ b/src/server/game/Scripting/ScriptReloadMgr.cpp @@ -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 |