Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastián Barschkis <sebbas@sebbas.org>2020-11-06 13:44:05 +0300
committerSebastián Barschkis <sebbas@sebbas.org>2020-11-06 14:06:05 +0300
commit311031ecd03dbfbf43e1df672a395f24b2e7d4d3 (patch)
treebaa75eb4b3e62d1caeb710d39291112e41112b37 /extern/mantaflow/helper/util/randomstream.h
parent37b155420b7cba189e69f648728be967943c4ec0 (diff)
Cleanup: Use nullptr everywhere in fluid code
Switched from NULL to nullptr.
Diffstat (limited to 'extern/mantaflow/helper/util/randomstream.h')
-rw-r--r--extern/mantaflow/helper/util/randomstream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/mantaflow/helper/util/randomstream.h b/extern/mantaflow/helper/util/randomstream.h
index 5b477326f6f..95e007fa943 100644
--- a/extern/mantaflow/helper/util/randomstream.h
+++ b/extern/mantaflow/helper/util/randomstream.h
@@ -270,7 +270,7 @@ inline void MTRand::seed()
}
// Was not successful, so use time() and clock() instead
- seed(hash(time(NULL), clock()));
+ seed(hash(time(nullptr), clock()));
}
inline void MTRand::initialize(const uint32 intseed)