summaryrefslogtreecommitdiff
path: root/src/avatar.h
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/avatar.h
parent273b79cf4f52c846508f3493727e34b1811ecfd5 (diff)
downloadplus-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.gz
plus-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.bz2
plus-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.xz
plus-45379d14d9d3c7f4673b8390cb95d98bb1759f45.zip
Convert Gender enum into strong typed enum.
Diffstat (limited to 'src/avatar.h')
-rw-r--r--src/avatar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/avatar.h b/src/avatar.h
index f079e367f..75de6739d 100644
--- a/src/avatar.h
+++ b/src/avatar.h
@@ -158,10 +158,10 @@ class Avatar notfinal
void setCharId(const int id)
{ mCharId = id; }
- Gender::Type getGender() const A_WARN_UNUSED
+ GenderT getGender() const A_WARN_UNUSED
{ return mGender; }
- void setGender(const Gender::Type g)
+ void setGender(const GenderT g)
{ mGender = g; }
int getRace() const A_WARN_UNUSED
@@ -196,7 +196,7 @@ class Avatar notfinal
int mY;
int mType;
int mExp;
- Gender::Type mGender;
+ GenderT mGender;
int mRace;
std::string mIp;
bool mOnline;