HI, I had a problem when running the examples that there were too many dev/random clients run, and I tracked it to the function sc2common, maybe only on mac since it hasn't been reported? . I corrected it and seem to be running fine, but I am not too familiar with git so can someone help me to code review and commit the code, or find a better solution since I'm not an expert in programming =) Thank you in advance.
HI, I had a problem when running the examples that there were too many dev/random clients run, and I tracked it to the function sc2common, maybe only on mac since it hasn't been reported? . I corrected it and seem to be running fine, but I am not too familiar with git so can someone help me to code review and commit the code, or find a better solution since I'm not an expert in programming =) Thank you in advance.
git diff -> file sc2common.cc
endif
+#define NUMBER_OF_RANDOM_GENERATORS 256
namespace sc2 {
+struct RandomGenerator {
+class RandomGeneratorClass{
+RandomGeneratorClass RGC;
-struct RandomGenerator {
static std::mt19937& GetGenerator () {