summaryrefslogtreecommitdiff
path: root/src/net/logindata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-21 18:57:48 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-21 18:57:48 +0300
commit35cfd460655878c9a615abc8ea1cb2f7577a7f3b (patch)
tree2b4cb899f7f442912f89de30f4a5ab0add0727ce /src/net/logindata.h
parentcfe4c893ba4ba30379919636d3c508ebf1594e23 (diff)
downloadplus-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.gz
plus-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.bz2
plus-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.xz
plus-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.zip
some other fixes from cpplint.
Diffstat (limited to 'src/net/logindata.h')
-rw-r--r--src/net/logindata.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/net/logindata.h b/src/net/logindata.h
index 6e133b267..5611a9bc8 100644
--- a/src/net/logindata.h
+++ b/src/net/logindata.h
@@ -31,16 +31,16 @@ class LoginData final
{
public:
LoginData() :
- username(""),
- password(""),
- newPassword(""),
- updateHost(""),
+ username(),
+ password(),
+ newPassword(),
+ updateHost(),
updateHosts(),
lastLogin(),
updateType(0),
- email(""),
- captchaResponse(""),
- registerUrl(""),
+ email(),
+ captchaResponse(),
+ registerUrl(),
gender(GENDER_UNSPECIFIED),
remember(false),
registerLogin(false),
@@ -75,7 +75,7 @@ class LoginData final
bool remember; // Whether to store the username.
bool registerLogin; // Whether an account is being registered.
- unsigned short characterSlots; // The number of character slots
+ uint16_t characterSlots; // The number of character slots
void clear()
{
@@ -104,7 +104,7 @@ class LoginData final
*/
void resetCharacterSlots()
{
- characterSlots = 9; // Default value, used for TmwAthena.
+ characterSlots = 9; // Default value, used for TmwAthena.
}
};