From 2c6449c4fcd6273c92603736b5623825a72ba4eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6rlich?= Date: Mon, 29 May 2017 23:37:00 +0200 Subject: Changed enum to const because enum with uint64 size does not work on VSC++ Compiler --- core/math/math_funcs.h | 4 +--- 1 file changed, 1 insertion(+), 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); } -- cgit v1.2.3