mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-04 21:10:32 +00:00
Tweaks any enums that use uint_max values so that they have hard types to avoid any compiler kerfluffles with C++11 value narrowing, specifically pertaining to clang.
This commit is contained in:
parent
3038e53856
commit
121d65215e
15 changed files with 25 additions and 15 deletions
|
|
@ -148,7 +148,8 @@ public:
|
|||
/// Set the TTL for the last item we entered...
|
||||
///
|
||||
/// Primitives default to lasting one frame (ie, ttl=0)
|
||||
enum {
|
||||
enum : U32
|
||||
{
|
||||
DD_INFINITE = U32_MAX
|
||||
};
|
||||
// How long should this primitive be draw for, 0 = one frame, DD_INFINITE = draw forever
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue