Added dumb cast for dumb compilators
This commit is contained in:
@@ -73,7 +73,7 @@ protected:
|
|||||||
list<int> usedRandomValues;
|
list<int> usedRandomValues;
|
||||||
bool log;
|
bool log;
|
||||||
public:
|
public:
|
||||||
RandomGenerator(unsigned int seed = -1, bool doLog = false) : log(doLog) { if(seed != -1) srand(seed);};
|
RandomGenerator(unsigned int seed = -1, bool doLog = false) : log(doLog) { if(seed != (unsigned int)-1) srand(seed);};
|
||||||
void loadRandValues(string s);
|
void loadRandValues(string s);
|
||||||
ostream& saveUsedRandValues(ostream& out) const;
|
ostream& saveUsedRandValues(ostream& out) const;
|
||||||
ostream& saveLoadedRandValues(ostream& out);
|
ostream& saveLoadedRandValues(ostream& out);
|
||||||
|
|||||||
Reference in New Issue
Block a user