random: mark RandAddPeriodic and SeedPeriodic as noexcept

The usage of MilliSleep() in SeedPeriodic (previously SeedSleep) was
removed in #17270, meaning it, and its users can now be marked noexcept.
This commit is contained in:
fanquake
2019-11-18 10:21:28 -05:00
parent 461e547877
commit 55b2cb199c
2 changed files with 4 additions and 14 deletions

View File

@@ -88,7 +88,7 @@ void GetStrongRandBytes(unsigned char* buf, int num) noexcept;
*
* Thread-safe.
*/
void RandAddPeriodic();
void RandAddPeriodic() noexcept;
/**
* Fast randomness source. This is seeded once with secure random data, but