mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +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
|
|
@ -441,7 +441,7 @@ public:
|
|||
/// @see addGroup, endGroup
|
||||
/// @see addGroup, endGroup
|
||||
/// @see addDeprecatedField
|
||||
enum ACRFieldTypes
|
||||
enum ACRFieldTypes : U32
|
||||
{
|
||||
/// The first custom field type... all fields
|
||||
/// types greater or equal to this one are not
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ typedef U32 SimObjectId;
|
|||
/// The RootGroupId is assigned to gRootGroup, in which most SimObjects
|
||||
/// are addded as child members. See simManager.cc for details, particularly
|
||||
/// Sim::initRoot() and following.
|
||||
enum SimObjectsConstants
|
||||
enum SimObjectsConstants : U32
|
||||
{
|
||||
DataBlockObjectIdFirst = 3,
|
||||
DataBlockObjectIdBitSize = 14,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue