summaryrefslogtreecommitdiff
path: root/src/net/eathena/network.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-10 01:40:58 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-10 01:40:58 +0300
commitdd996d01676d7dca3eec442b14c4966ba0bb0935 (patch)
treecf33c3b0ab342ad7eace2c79d75fa5ba3e852f5e /src/net/eathena/network.h
parent75d9cadaf376cad8f7244ee4d4632e94c0ef3bc0 (diff)
downloadplus-dd996d01676d7dca3eec442b14c4966ba0bb0935.tar.gz
plus-dd996d01676d7dca3eec442b14c4966ba0bb0935.tar.bz2
plus-dd996d01676d7dca3eec442b14c4966ba0bb0935.tar.xz
plus-dd996d01676d7dca3eec442b14c4966ba0bb0935.zip
Delete copy constructor from net classes.
Diffstat (limited to 'src/net/eathena/network.h')
-rw-r--r--src/net/eathena/network.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/eathena/network.h b/src/net/eathena/network.h
index 63ec5a20b..b9cbff28e 100644
--- a/src/net/eathena/network.h
+++ b/src/net/eathena/network.h
@@ -48,6 +48,8 @@ class Network final : public Ea::Network
public:
Network();
+ A_DELETE_COPY(Network);
+
~Network();
void registerHandler(MessageHandler *handler);
@@ -58,7 +60,7 @@ class Network final : public Ea::Network
bool messageReady();
- MessageIn getNextMessage();
+ MessageIn *getNextMessage();
void dispatchMessages();