summaryrefslogtreecommitdiff
path: root/src/util/random.cpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-05-02 21:52:59 +1000
committerjacqueline <me@jacqueline.id.au>2024-05-02 21:52:59 +1000
commit26eb580043ad176bdc58d996f30d470e1073ef00 (patch)
treee499b1115108effe91c961452c1ee101d07beeac /src/util/random.cpp
parent7d7f7755d17e1e0a2348d75d797097f166b70471 (diff)
downloadtangara-fw-26eb580043ad176bdc58d996f30d470e1073ef00.tar.gz
move driver includes into a subdir as well
Diffstat (limited to 'src/util/random.cpp')
-rw-r--r--src/util/random.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/random.cpp b/src/util/random.cpp
index ae543765..2b2af9c7 100644
--- a/src/util/random.cpp
+++ b/src/util/random.cpp
@@ -29,8 +29,8 @@ auto Random::Next() -> std::uint64_t {
return komirand(&seed1_, &seed2_);
}
-auto Random::RangeInclusive(std::uint64_t lower, std::uint64_t upper)
- -> std::uint64_t {
+auto Random::RangeInclusive(std::uint64_t lower,
+ std::uint64_t upper) -> std::uint64_t {
return (Next() % (upper - lower + 1)) + lower;
}