Skip to content

Commit 2bff03b

Browse files
JiayiFengwangkuiyi
authored andcommitted
fix a compile error (#10488)
1 parent 22ab14c commit 2bff03b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/fluid/platform/profiler.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ void SetProfileListener() {
463463
std::mt19937 rng;
464464
rng.seed(std::random_device()());
465465
std::uniform_int_distribution<std::mt19937::result_type> dist6(
466-
1, std::numeric_limits<int64_t>::max());
466+
1, std::numeric_limits<std::mt19937::result_type>::max());
467467
profiler_lister_id = dist6(rng);
468468
}
469469
int64_t ListenerId() { return profiler_lister_id; }

0 commit comments

Comments
 (0)