diff --git a/src/openrct2/core/Random.hpp b/src/openrct2/core/Random.hpp index 60431abc37..2ba0da05fa 100644 --- a/src/openrct2/core/Random.hpp +++ b/src/openrct2/core/Random.hpp @@ -27,12 +27,12 @@ namespace Random /** * FixedSeedSequence adheres to the _Named Requirement_ `SeedSequence`. */ - template class FixedSeedSequence + template class FixedSeedSequence { public: using result_type = uint32_t; - static constexpr size_t N = __N; + static constexpr size_t N = _N; static constexpr result_type default_seed = 0x1234567F; explicit FixedSeedSequence() @@ -91,8 +91,7 @@ namespace Random * RotateEngine adheres to the _Named Requirement_ `RandomNumberEngine` * https://en.cppreference.com/w/cpp/named_req/RandomNumberEngine */ - template - class RotateEngine : protected RotateEngineState + template class RotateEngine : protected RotateEngineState { static_assert(std::is_unsigned::value, "Type must be unsigned integral."); @@ -103,9 +102,9 @@ namespace Random using result_type = UIntType; using state_type = RotateEngineState; - static constexpr result_type x = __x; - static constexpr size_t r1 = __r1; - static constexpr size_t r2 = __r2; + static constexpr result_type x = _x; + static constexpr size_t r1 = _r1; + static constexpr size_t r2 = _r2; static constexpr result_type default_seed = 1; static constexpr result_type min()