aboutsummaryrefslogtreecommitdiff
path: root/src/random.h
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2019-11-18 10:21:28 -0500
committerfanquake <fanquake@gmail.com>2019-11-18 10:22:17 -0500
commit55b2cb199c276781b6daa5438af2da57dea3ac52 (patch)
tree9569dd0449461ac6ffa5cd3b05d3bf5a07b0cc43 /src/random.h
parent461e547877da0c04db69e067c923cc4540aab03a (diff)
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.
Diffstat (limited to 'src/random.h')
-rw-r--r--src/random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/random.h b/src/random.h
index 76b3493c5d..8af616f8ea 100644
--- a/src/random.h
+++ b/src/random.h
@@ -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