diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-29 16:19:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-29 16:19:21 +0300 |
commit | 7bdb50605562e47f1d6ae134881c09bd42293be5 (patch) | |
tree | 935228722e4eb48f5856abec53be1ec985a0b9d6 /src/enums/simpletypes/beingid.h | |
parent | 0f9ec2061c4ad6157c3186f1cab9c4d8558980b5 (diff) | |
download | plus-7bdb50605562e47f1d6ae134881c09bd42293be5.tar.gz plus-7bdb50605562e47f1d6ae134881c09bd42293be5.tar.bz2 plus-7bdb50605562e47f1d6ae134881c09bd42293be5.tar.xz plus-7bdb50605562e47f1d6ae134881c09bd42293be5.zip |
Add strong typed int type BeingTypeId.
Diffstat (limited to 'src/enums/simpletypes/beingid.h')
-rw-r--r-- | src/enums/simpletypes/beingid.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/enums/simpletypes/beingid.h b/src/enums/simpletypes/beingid.h index dddd83932..ffc9eb6f6 100644 --- a/src/enums/simpletypes/beingid.h +++ b/src/enums/simpletypes/beingid.h @@ -24,11 +24,6 @@ #include "enums/simpletypes/intdefines.h" defIntEnum(BeingId, int); - -#ifdef ADVGCC -const BeingId BeingId_negOne = static_cast<BeingId>(-1); -#else -const BeingId BeingId_negOne = -1; -#endif +defIntEnumNeg(BeingId); #endif // ENUMS_SIMPLETYPES_BEINGID_H |