From ed2536b5cec57c588280017016a0d206ae56e128 Mon Sep 17 00:00:00 2001 From: paulfd Date: Sat, 21 Sep 2019 01:05:43 +0200 Subject: [PATCH] Math helpers stay with static --- sfizz/MathHelpers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sfizz/MathHelpers.h b/sfizz/MathHelpers.h index b4b1a953..0e3d074e 100644 --- a/sfizz/MathHelpers.h +++ b/sfizz/MathHelpers.h @@ -60,8 +60,8 @@ inline constexpr Type mag2db(Type in) } namespace Random { -static SFZ_INLINE std::random_device randomDevice; -static SFZ_INLINE std::mt19937 randomGenerator { randomDevice() }; + static SFZ_INLINE std::random_device randomDevice; + static SFZ_INLINE std::mt19937 randomGenerator { randomDevice() }; } // namespace Random inline float midiNoteFrequency(const int noteNumber)