diff options
author | Thomas Görlich <goerlich.thomas@gmail.com> | 2017-05-29 23:37:00 +0200 |
---|---|---|
committer | Thomas Görlich <goerlich.thomas@gmail.com> | 2017-05-29 23:56:21 +0200 |
commit | 2c6449c4fcd6273c92603736b5623825a72ba4eb (patch) | |
tree | ea6e8087de18fa28d3d463479fdd40c4d1df88e3 /core | |
parent | c814d65fae9841810e0ea28e24f806187fbd63ed (diff) |
Changed enum to const because enum with uint64 size does not work on VSC++ Compiler
Diffstat (limited to 'core')
-rw-r--r-- | core/math/math_funcs.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h index 6a5e12c3ce..ca960aabad 100644 --- a/core/math/math_funcs.h +++ b/core/math/math_funcs.h @@ -51,9 +51,7 @@ class Math { public: Math() {} // useless to instance - enum { - RANDOM_MAX = 4294967295L - }; + static const uint64_t RANDOM_MAX = 4294967295; static _ALWAYS_INLINE_ double sin(double p_x) { return ::sin(p_x); } static _ALWAYS_INLINE_ float sin(float p_x) { return ::sinf(p_x); } |