From ab555992c6911a02a2d5a17217f7e5baef50eda4 Mon Sep 17 00:00:00 2001 From: skipper70 Date: Fri, 10 Mar 2017 16:58:19 +0500 Subject: [PATCH] Update Random.h Valid for Clang Compiler --- omp/Random.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/omp/Random.h b/omp/Random.h index c35078c..dbef3b4 100644 --- a/omp/Random.h +++ b/omp/Random.h @@ -29,12 +29,12 @@ class XoroShiro128Plus return result; } - static uint64_t min() + static constexpr uint64_t min() { return 0; } - static uint64_t max() + static constexpr uint64_t max() { return ~(uint64_t)0; }