From d544b777c3ae7e0caa2040f3896bba3ffbd95d34 Mon Sep 17 00:00:00 2001 From: Hamuko Date: Thu, 6 Oct 2016 02:11:22 +0300 Subject: Use mt19937 random number generator instad of the default one --- src/global.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/global.h') diff --git a/src/global.h b/src/global.h index ed1f3cf9..2b2a8c59 100644 --- a/src/global.h +++ b/src/global.h @@ -22,6 +22,8 @@ #define NCMPCPP_GLOBAL_H #include +#include + #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 -- cgit v1.2.3