Traversal: Use a decent PRNG instead of rand()

we don’t need cryptosecure random, but having a uniform distribution is
always better.
This commit is contained in:
mathieui
2015-03-10 01:47:29 +01:00
parent 849922881d
commit 8201a52cec
2 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,7 @@
#include <functional>
#include <list>
#include <memory>
#include <random>
#include <enet/enet.h>
#include "Common/Common.h"
#include "Common/Thread.h"