summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-29 23:49:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-29 23:49:29 +0300
commit45379d14d9d3c7f4673b8390cb95d98bb1759f45 (patch)
tree698fe787014ca277f5b23144136d4e5417c6b444 /src/enums
parent273b79cf4f52c846508f3493727e34b1811ecfd5 (diff)
downloadmanaverse-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.gz
manaverse-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.bz2
manaverse-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.xz
manaverse-45379d14d9d3c7f4673b8390cb95d98bb1759f45.zip
Convert Gender enum into strong typed enum.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/being/gender.h18
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