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

This commit is contained in:
Treeston authored and Aokromes committed 2018-07-23 13:53:13 +02:00
1 parent 3167005650
commit f441d36d78
20 files changed
+37 -36

No files matched your search

+1 -1
View File
@@ -63,7 +63,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);