summaryrefslogtreecommitdiff
path: root/src/net/ea/loginhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-25 18:35:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-25 18:35:21 +0300
commit71f88c02f79a1164430eec1de3e15edec011a15e (patch)
tree6a0772ee943a41314b5abd92fed0ce269faced27 /src/net/ea/loginhandler.h
parent6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (diff)
downloadmanaplus-71f88c02f79a1164430eec1de3e15edec011a15e.tar.gz
manaplus-71f88c02f79a1164430eec1de3e15edec011a15e.tar.bz2
manaplus-71f88c02f79a1164430eec1de3e15edec011a15e.tar.xz
manaplus-71f88c02f79a1164430eec1de3e15edec011a15e.zip
improve construcors in abstract classes.
Also add some missing final to classes.
Diffstat (limited to 'src/net/ea/loginhandler.h')
-rw-r--r--src/net/ea/loginhandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h
index e6dadac2e..05d819ffe 100644
--- a/src/net/ea/loginhandler.h
+++ b/src/net/ea/loginhandler.h
@@ -38,8 +38,6 @@ namespace Ea
class LoginHandler : public Net::LoginHandler
{
public:
- LoginHandler();
-
A_DELETE_COPY(LoginHandler)
~LoginHandler();
@@ -92,6 +90,8 @@ class LoginHandler : public Net::LoginHandler
virtual void processServerVersion(Net::MessageIn &msg) = 0;
protected:
+ LoginHandler();
+
virtual void sendLoginRegister(const std::string &username,
const std::string &password,
const std::string &email) const = 0;