0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-05 14:06:27 -05:00

xoroshiro128plusplus: drop comment about nonexisting copy()

This commit is contained in:
Pieter Wuille 2024-06-08 08:42:53 -04:00
parent 8924f5120f
commit 8f5ac0d0b6

View file

@ -37,7 +37,7 @@ public:
: m_s0(SplitMix64(seedval)), m_s1(SplitMix64(seedval)) {}
// no copy - that is dangerous, we don't want accidentally copy the RNG and then have two streams
// with exactly the same results. If you need a copy, call copy().
// with exactly the same results.
XoRoShiRo128PlusPlus(const XoRoShiRo128PlusPlus&) = delete;
XoRoShiRo128PlusPlus& operator=(const XoRoShiRo128PlusPlus&) = delete;