Misc: Pass std::chrono types by value everywhere.
This commit is contained in:
1 parent
3167005650
commit
f441d36d78
20 files changed
+37
-36
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user