From ecf66314316bef04edd05b73c375094695b7b3a2 Mon Sep 17 00:00:00 2001 From: Stepan Malykh Date: Fri, 21 Feb 2025 23:59:24 +0300 Subject: [PATCH] added constexpr --- src/OMPEval/omp/Random.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OMPEval/omp/Random.h b/src/OMPEval/omp/Random.h index c35078c..dbef3b4 100644 --- a/src/OMPEval/omp/Random.h +++ b/src/OMPEval/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; }