From 45379d14d9d3c7f4673b8390cb95d98bb1759f45 Mon Sep 17 00:00:00 2001 From: Andrei Karas <akaras@inbox.ru> Date: Fri, 29 May 2015 23:49:29 +0300 Subject: Convert Gender enum into strong typed enum. --- src/enums/being/gender.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/enums') 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 -- cgit v1.2.3-70-g09d2