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

(cherry picked from commit 2ef9d301f0)
This commit is contained in:
Treeston
2018-07-18 17:48:15 +02:00
committed by Shauren
parent ab5792a33a
commit 3418a33a87
21 changed files with 39 additions and 38 deletions

View File

@@ -62,7 +62,7 @@ float frand(float min, float max)
return float(GetRng()->Random() * (max - min) + min);
}
Milliseconds randtime(Milliseconds const& min, Milliseconds const& max)
Milliseconds randtime(Milliseconds min, Milliseconds max)
{
long long diff = max.count() - min.count();
ASSERT(diff >= 0);