projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use modern construct 'nullptr' instead of 'NULL' or '0'
[platform/core/uifw/dali-core.git]
/
dali
/
public-api
/
math
/
random.h
diff --git
a/dali/public-api/math/random.h
b/dali/public-api/math/random.h
index
c5cf47e
..
c9d5377
100644
(file)
--- a/
dali/public-api/math/random.h
+++ b/
dali/public-api/math/random.h
@@
-54,7
+54,7
@@
inline float Range(float f0, float f1)
static bool initialized( false );
if( !initialized )
{
- uint32_t seed = static_cast<uint32_t>( time(
NULL
) );
+ uint32_t seed = static_cast<uint32_t>( time(
nullptr
) );
srand( seed );
initialized = true;
}