From 975055e40938730cb09d151ba17bf8defd3b4adf Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Sun, 26 Feb 2023 10:43:21 -0500 Subject: Code quality and improvements I genuinely cannot remember what I was doing here, as I never committed it. But basically - it looks like I used my IDE and fixed warnings and improved some code blocks / references --- src/random.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/random.hpp') diff --git a/src/random.hpp b/src/random.hpp index e74267a..18beef4 100644 --- a/src/random.hpp +++ b/src/random.hpp @@ -2,16 +2,16 @@ #define UR_RANDOM_H #include + namespace ur { class Random { public: Random(int min, int max); + int next(); private: - int min; - int max; std::default_random_engine engine; std::normal_distribution distribution; }; -- cgit v1.2.3-54-g00ecf