fix warnings (#648)
* fix unknown command line argument * fix warnings settings for gcc * fix -Wzero-as-null-pointer-constant * revert CMakeLists.txt
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ namespace util {
|
||||
PseudoRandom(unsigned short seed) : seed(seed) {}
|
||||
|
||||
PseudoRandom() {
|
||||
seed = static_cast<unsigned short>(time(0));
|
||||
seed = static_cast<unsigned short>(time(nullptr));
|
||||
}
|
||||
|
||||
int rand() {
|
||||
|
||||
Reference in New Issue
Block a user