From 94c1043025390da7fb7b2320cf186d59f84ddf09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E5=A4=B4=E4=BA=91?= Date: Sun, 13 Sep 2020 15:49:25 +0800 Subject: [PATCH] Update test_ipc.cpp --- test/test_ipc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_ipc.cpp b/test/test_ipc.cpp index a9148ec..2646725 100755 --- a/test/test_ipc.cpp +++ b/test/test_ipc.cpp @@ -19,7 +19,7 @@ namespace { class rand_buf : public buffer { public: rand_buf() { - int size = capo::random{1, 65536}(); + int size = capo::random<>{1, 65536}(); *this = buffer(new char[size], size, [](void * p, std::size_t) { delete [] static_cast(p); });