From 7cb803ad5c2ba3678198ff954e4a8c8f565a4668 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 19 Oct 2013 15:05:48 +0200 Subject: test/test_pcm: use C++11 random instead of GLib --- test/test_pcm_pack.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/test_pcm_pack.cxx') diff --git a/test/test_pcm_pack.cxx b/test/test_pcm_pack.cxx index 0033ceb07..cab78c499 100644 --- a/test/test_pcm_pack.cxx +++ b/test/test_pcm_pack.cxx @@ -22,13 +22,11 @@ #include "pcm/PcmPack.hxx" #include "system/ByteOrder.hxx" -#include - void PcmPackTest::TestPack24() { constexpr unsigned N = 256; - const auto src = TestDataBuffer(GlibRandomInt24()); + const auto src = TestDataBuffer(RandomInt24()); uint8_t dest[N * 3]; pcm_pack_24(dest, src.begin(), src.end()); -- cgit v1.2.3