summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-08 00:17:45 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-08 00:17:45 +0300
commit593cccb16074fe9269dd2f278bd79859769eb1fd (patch)
treed8b3d93001021c59622ea88140dbbef8aee05013 /src/net/ea
parentb7e35a7bbd41c39fa675e77b2af6a11bb4d86dd2 (diff)
downloadplus-593cccb16074fe9269dd2f278bd79859769eb1fd.tar.gz
plus-593cccb16074fe9269dd2f278bd79859769eb1fd.tar.bz2
plus-593cccb16074fe9269dd2f278bd79859769eb1fd.tar.xz
plus-593cccb16074fe9269dd2f278bd79859769eb1fd.zip
Improve constructors in some classes.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/charserverhandler.cpp3
-rw-r--r--src/net/ea/loginhandler.cpp5
2 files changed, 5 insertions, 3 deletions
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp
index 7e0a5106d..b4708b3f7 100644
--- a/src/net/ea/charserverhandler.cpp
+++ b/src/net/ea/charserverhandler.cpp
@@ -42,7 +42,8 @@ extern Net::CharHandler *charHandler;
namespace Ea
{
-CharServerHandler::CharServerHandler()
+CharServerHandler::CharServerHandler() :
+ Net::CharHandler()
{
}
diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp
index 09a4066e0..c00301c7a 100644
--- a/src/net/ea/loginhandler.cpp
+++ b/src/net/ea/loginhandler.cpp
@@ -36,8 +36,9 @@ namespace Ea
{
LoginHandler::LoginHandler() :
- mVersionResponse(false),
- mRegistrationEnabled(true)
+ Net::LoginHandler(),
+ mVersionResponse(false),
+ mRegistrationEnabled(true)
{
mToken.clear();
}