random.cc
4.88 KB
-
Use CHAR_BIT instead of assuming 8 bits · b6784361
* src/c++11/random.cc (random_device::_M_getentropy): Use __CHAR_BIT__ instead of fixed number of bits. From-SVN: r248428
Jonathan Wakely committed
* src/c++11/random.cc (random_device::_M_getentropy): Use __CHAR_BIT__ instead of fixed number of bits. From-SVN: r248428