summaryrefslogtreecommitdiff
path: root/src/net/logindata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-18 12:18:44 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-18 14:52:11 +0300
commitbb9ed14fc1bf7dc20f1e951e67bb359c273033a3 (patch)
treec46e7e5708d3a2058233a41a08995e6c861703ea /src/net/logindata.h
parent10273bc94e90fefcfe3fc215aaaaafe7e0e96bd4 (diff)
downloadmv-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.gz
mv-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.bz2
mv-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.xz
mv-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.zip
fix code style.
Diffstat (limited to 'src/net/logindata.h')
-rw-r--r--src/net/logindata.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/logindata.h b/src/net/logindata.h
index a2179a0b9..69dbfbb66 100644
--- a/src/net/logindata.h
+++ b/src/net/logindata.h
@@ -45,7 +45,7 @@ class LoginData final
email(),
captchaResponse(),
registerUrl(),
- gender(GENDER_UNSPECIFIED),
+ gender(Gender::UNSPECIFIED),
remember(false),
registerLogin(false),
characterSlots(9)
@@ -74,7 +74,7 @@ class LoginData final
std::string captchaResponse;
std::string registerUrl;
- Gender gender;
+ Gender::Type gender;
bool remember; // Whether to store the username.
bool registerLogin; // Whether an account is being registered.
@@ -92,7 +92,7 @@ class LoginData final
email.clear();
captchaResponse.clear();
registerUrl.clear();
- gender = GENDER_UNSPECIFIED;
+ gender = Gender::UNSPECIFIED;
lastLogin.clear();
resetCharacterSlots();
}