diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-29 23:49:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-29 23:49:29 +0300 |
commit | 45379d14d9d3c7f4673b8390cb95d98bb1759f45 (patch) | |
tree | 698fe787014ca277f5b23144136d4e5417c6b444 /src/enums | |
parent | 273b79cf4f52c846508f3493727e34b1811ecfd5 (diff) | |
download | manaplus-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.gz manaplus-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.bz2 manaplus-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.xz manaplus-45379d14d9d3c7f4673b8390cb95d98bb1759f45.zip |
Convert Gender enum into strong typed enum.
Diffstat (limited to 'src/enums')
-rw-r--r-- | src/enums/being/gender.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/enums/being/gender.h b/src/enums/being/gender.h index 59fd7e304..318ef72e5 100644 --- a/src/enums/being/gender.h +++ b/src/enums/being/gender.h @@ -23,15 +23,15 @@ #ifndef ENUMS_BEING_GENDER_H #define ENUMS_BEING_GENDER_H -namespace Gender +#include "enums/simpletypes/enumdefines.h" + +enumStart(Gender) { - enum Type - { - MALE = 0, - FEMALE = 1, - UNSPECIFIED = 2, - OTHER = 3 - }; -} // nemespace Gender + MALE = 0, + FEMALE = 1, + UNSPECIFIED = 2, + OTHER = 3 +} +enumEnd(Gender); #endif // ENUMS_BEING_GENDER_H |