mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
whoops, nan() and nanf() require a parameter
This commit is contained in:
parent
0d7b4c1b26
commit
67770fa3dc
@ -356,7 +356,7 @@ cnan(double v) {
|
||||
INLINE float
|
||||
make_nan(float) {
|
||||
#ifndef _WIN32
|
||||
return nanf();
|
||||
return nanf("");
|
||||
#else
|
||||
return numeric_limits<float>::quiet_NaN();
|
||||
#endif
|
||||
@ -369,7 +369,7 @@ make_nan(float) {
|
||||
INLINE double
|
||||
make_nan(double) {
|
||||
#ifndef _WIN32
|
||||
return nan();
|
||||
return nan("");
|
||||
#else
|
||||
return numeric_limits<double>::quiet_NaN();
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user