diff options
author | Max Kellermann <max@duempel.org> | 2015-06-22 22:02:12 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-06-22 22:02:39 +0200 |
commit | 680d03e4d61a9b0abb9877cf4e0a0b045619b7bb (patch) | |
tree | 952aa507a26de6db5834d2c9f1a2d458ae8cee63 | |
parent | b4fc2e38ab344b80bd3b1b6d613774b5caf560f6 (diff) | |
download | mpd-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
-rw-r--r-- | test/test_pcm_util.hxx | 2 |
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()); } }; |