From d0f369659658105dae440f0b8001a37a56151817 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 24 Apr 2017 23:51:01 +0200 Subject: [PATCH] randoms: Keep compatibility with Erlang/OTP 17 --- src/randoms.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/randoms.erl b/src/randoms.erl index 35a5d7580..ad07b47c2 100644 --- a/src/randoms.erl +++ b/src/randoms.erl @@ -55,4 +55,4 @@ bytes(N) -> -spec round_robin(pos_integer()) -> non_neg_integer(). round_robin(N) -> - erlang:unique_integer([monotonic, positive]) rem N. + p1_time_compat:unique_integer([monotonic, positive]) rem N. -- 2.40.0