From b1bf6a1ac8dbf922c508f4f4b064eb0d9af19bff Mon Sep 17 00:00:00 2001 From: Victor Zarubkin Date: Thu, 28 Dec 2017 00:37:26 +0300 Subject: [PATCH] Older compiler build --- profiler_gui/common_functions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler_gui/common_functions.h b/profiler_gui/common_functions.h index e5a9cf6..7528962 100644 --- a/profiler_gui/common_functions.h +++ b/profiler_gui/common_functions.h @@ -97,7 +97,7 @@ EASY_FORCE_INLINE EASY_CONSTEXPR_FCN typename ::std::underlying_type::typ return static_cast::type>(_enumValue); } #else -# define int_cast(_enumValue) static_cast::type>(_enumValue) +# define int_cast(_enumValue) static_cast<::std::underlying_type::type>(_enumValue) #endif //////////////////////////////////////////////////////////////////////////