summaryrefslogtreecommitdiff
path: root/src/net/logindata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-03 17:23:55 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-03 17:23:55 +0300
commit0bdaa773a4ee5a678c400a1b097190e3856ee5a6 (patch)
treed9855dad5292cc218be9251fecf3f53aa0fede35 /src/net/logindata.h
parent7aec0517fe0874b5ac6e6590d442aa89a6f8f5a7 (diff)
downloadmanaverse-0bdaa773a4ee5a678c400a1b097190e3856ee5a6.tar.gz
manaverse-0bdaa773a4ee5a678c400a1b097190e3856ee5a6.tar.bz2
manaverse-0bdaa773a4ee5a678c400a1b097190e3856ee5a6.tar.xz
manaverse-0bdaa773a4ee5a678c400a1b097190e3856ee5a6.zip
Convert UpdateType enum into strong typed enum.
Diffstat (limited to 'src/net/logindata.h')
-rw-r--r--src/net/logindata.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/logindata.h b/src/net/logindata.h
index acca562fd..1d6e6fd97 100644
--- a/src/net/logindata.h
+++ b/src/net/logindata.h
@@ -41,7 +41,7 @@ class LoginData final
updateHost(),
updateHosts(),
lastLogin(),
- updateType(0),
+ updateType(UpdateType::Normal),
email(),
captchaResponse(),
registerUrl(),
@@ -60,7 +60,7 @@ class LoginData final
std::string updateHost;
StringVect updateHosts;
std::string lastLogin;
- int updateType;
+ UpdateTypeT updateType;
std::string email;
std::string captchaResponse;