From: Andres Noetzli Date: Fri, 19 Oct 2018 17:15:33 +0000 (-0700) Subject: Fix util::Random for macOS builds (#2655) X-Git-Tag: cvc5-1.0.0~4401 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7de0540252b62080ee9f98617f5718cb1ae08579;p=cvc5.git Fix util::Random for macOS builds (#2655) --- diff --git a/src/util/random.h b/src/util/random.h index e746666fc..e6443c3da 100644 --- a/src/util/random.h +++ b/src/util/random.h @@ -39,10 +39,10 @@ class Random } /** Get the minimum number that can be picked. */ - static uint64_t min() { return 0u; } + static constexpr uint64_t min() { return 0u; } /** Get the maximum number that can be picked. */ - static uint64_t max() { return UINT64_MAX; } + static constexpr uint64_t max() { return UINT64_MAX; } /** Set seed of Random. */ void setSeed(uint64_t seed);