Use mt19937 random number generator instad of the default one

This commit is contained in:
Hamuko
2016-10-06 02:11:22 +03:00
committed by Andrzej Rybczak
parent cfce9aed08
commit d544b777c3
7 changed files with 26 additions and 12 deletions

View File

@@ -22,6 +22,8 @@
#define NCMPCPP_GLOBAL_H
#include <boost/date_time/posix_time/posix_time_types.hpp>
#include <random>
#include "mpdpp.h"
#include "screen.h"
@@ -58,6 +60,9 @@ extern std::string VolumeState;
// global timer
extern boost::posix_time::ptime Timer;
// global RNG
extern std::mt19937 RNG;
}
#endif // NCMPCPP_GLOBAL_H