From 2bff03bc1e1f0425db0a120565f080476861435e Mon Sep 17 00:00:00 2001 From: fengjiayi Date: Wed, 9 May 2018 02:09:44 +0800 Subject: [PATCH] fix a compile error (#10488) --- paddle/fluid/platform/profiler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/platform/profiler.cc b/paddle/fluid/platform/profiler.cc index cfddd8e87..50bc0aba6 100644 --- a/paddle/fluid/platform/profiler.cc +++ b/paddle/fluid/platform/profiler.cc @@ -463,7 +463,7 @@ void SetProfileListener() { std::mt19937 rng; rng.seed(std::random_device()()); std::uniform_int_distribution dist6( - 1, std::numeric_limits::max()); + 1, std::numeric_limits::max()); profiler_lister_id = dist6(rng); } int64_t ListenerId() { return profiler_lister_id; } -- GitLab