aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Scripting/ScriptReloadMgr.cpp
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2018-07-18 17:48:15 +0200
committerTreeston <treeston.mmoc@gmail.com>2018-07-18 17:48:15 +0200
commit2ef9d301f0869b443122e2ba543af054c5b0e53c (patch)
treeb4386edef8f6409f39958aced5787e0cc994d3df /src/server/game/Scripting/ScriptReloadMgr.cpp
parentf93cb448f1d8b8346dff13fffacfd3c9f85edde0 (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.cpp2
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