mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-27 08:41:02 +08:00
Older compiler build
This commit is contained in:
parent
6a74c76681
commit
b1bf6a1ac8
@ -97,7 +97,7 @@ EASY_FORCE_INLINE EASY_CONSTEXPR_FCN typename ::std::underlying_type<TEnum>::typ
|
|||||||
return static_cast<typename ::std::underlying_type<TEnum>::type>(_enumValue);
|
return static_cast<typename ::std::underlying_type<TEnum>::type>(_enumValue);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
# define int_cast(_enumValue) static_cast<typename ::std::underlying_type<decltype(_enumValue)>::type>(_enumValue)
|
# define int_cast(_enumValue) static_cast<::std::underlying_type<decltype(_enumValue)>::type>(_enumValue)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user