aboutsummaryrefslogtreecommitdiffstats
path: root/src/Queue.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Queue.hxx')
-rw-r--r--src/Queue.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Queue.hxx b/src/Queue.hxx
index b887810b0..00af9b666 100644
--- a/src/Queue.hxx
+++ b/src/Queue.hxx
@@ -21,6 +21,7 @@
#define MPD_QUEUE_HXX
#include "gcc.h"
+#include "util/LazyRandomEngine.hxx"
#include <glib.h>
@@ -101,7 +102,7 @@ struct queue {
bool random;
/** random number generator for shuffle and random mode */
- GRand *rand;
+ LazyRandomEngine rand;
queue(unsigned max_length);