mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Calc: Use std::mt19937 with a deterministic seed as the random engine
This commit is contained in:
@ -20,7 +20,6 @@
|
||||
#define __MEASURECALC_H__
|
||||
|
||||
#include "Measure.h"
|
||||
#include <random>
|
||||
|
||||
class MeasureCalc : public Measure
|
||||
{
|
||||
@ -51,9 +50,6 @@ private:
|
||||
|
||||
std::vector<int> m_UniqueNumbers;
|
||||
void UpdateUniqueNumberList();
|
||||
|
||||
// Uniform Random Number Generator
|
||||
static std::default_random_engine c_RandomEngine;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user