diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-10-20 09:02:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-20 09:02:25 -0500 |
commit | 9d9a8bbd4465efd0860b185889fae89e4693d2a2 (patch) | |
tree | ec42e3da1ce7d790ece4e1e1df6e35f65c782041 /src/util/random.h | |
parent | f25f227eb4a4df388160cdf62795f7f684b224ea (diff) | |
parent | 1d4324bf87a35e36d9cc1e856d74ffbaf912a848 (diff) |
Merge branch 'master' into strRewritesstrRewrites
Diffstat (limited to 'src/util/random.h')
-rw-r--r-- | src/util/random.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |