Math helpers stay with static

This commit is contained in:
paulfd 2019-09-21 01:05:43 +02:00
parent bd8a565cef
commit ed2536b5ce

View file

@ -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)