aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-06-22 22:02:12 +0200
committerMax Kellermann <max@duempel.org>2015-06-22 22:02:39 +0200
commit680d03e4d61a9b0abb9877cf4e0a0b045619b7bb (patch)
tree952aa507a26de6db5834d2c9f1a2d458ae8cee63 /test
parentb4fc2e38ab344b80bd3b1b6d613774b5caf560f6 (diff)
downloadmpd-680d03e4d61a9b0abb9877cf4e0a0b045619b7bb.tar.gz
mpd-680d03e4d61a9b0abb9877cf4e0a0b045619b7bb.tar.xz
mpd-680d03e4d61a9b0abb9877cf4e0a0b045619b7bb.zip
test/test_pcm_util: call the C++11 random engine instead of random()
Stupid mistake from commit 7cb803ad
Diffstat (limited to 'test')
-rw-r--r--test/test_pcm_util.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_pcm_util.hxx b/test/test_pcm_util.hxx
index 7fc1db5e5..3ac84c307 100644
--- a/test/test_pcm_util.hxx
+++ b/test/test_pcm_util.hxx
@@ -34,7 +34,7 @@ struct RandomInt {
"RNG result type too small");
T operator()() {
- return T(random());
+ return T(engine());
}
};