1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
--- src/mpdpp.h.orig 2015-11-09 12:51:44 UTC +++ src/mpdpp.h @@ -23,6 +23,7 @@ #include <cassert> #include <exception> +#include <random> #include <set> #include <vector> @@ -587,6 +588,7 @@ private: int m_port; int m_timeout; std::string m_password; + std::mt19937 m_gen; }; }