From 88c01588aa0830e219eaa62588839e4d1e2883ce Mon Sep 17 00:00:00 2001 From: untodesu Date: Wed, 25 Jun 2025 00:44:36 +0500 Subject: Clang-format the entire source code --- core/randomizer.hh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core/randomizer.hh') diff --git a/core/randomizer.hh b/core/randomizer.hh index 62bdf9b..b60b839 100644 --- a/core/randomizer.hh +++ b/core/randomizer.hh @@ -8,8 +8,8 @@ public: explicit Randomizer(void); explicit Randomizer(std::uint64_t seed); virtual ~Randomizer(void) = default; - void add(const T &value); - const T &get(void); + void add(const T& value); + const T& get(void); void clear(void); private: @@ -35,14 +35,14 @@ inline Randomizer::Randomizer(std::uint64_t seed) } template -inline void Randomizer::add(const T &value) +inline void Randomizer::add(const T& value) { m_vector.push_back(value); m_dist = std::uniform_int_distribution(0, m_vector.size() - 1); } template -inline const T &Randomizer::get(void) +inline const T& Randomizer::get(void) { return m_vector.at(m_dist(m_twister)); } -- cgit