diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-10 01:40:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-10 01:40:58 +0300 |
commit | dd996d01676d7dca3eec442b14c4966ba0bb0935 (patch) | |
tree | cf33c3b0ab342ad7eace2c79d75fa5ba3e852f5e /src/net/messageout.h | |
parent | 75d9cadaf376cad8f7244ee4d4632e94c0ef3bc0 (diff) | |
download | manaverse-dd996d01676d7dca3eec442b14c4966ba0bb0935.tar.gz manaverse-dd996d01676d7dca3eec442b14c4966ba0bb0935.tar.bz2 manaverse-dd996d01676d7dca3eec442b14c4966ba0bb0935.tar.xz manaverse-dd996d01676d7dca3eec442b14c4966ba0bb0935.zip |
Delete copy constructor from net classes.
Diffstat (limited to 'src/net/messageout.h')
-rw-r--r-- | src/net/messageout.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/messageout.h b/src/net/messageout.h index 793fe04b9..81f805014 100644 --- a/src/net/messageout.h +++ b/src/net/messageout.h @@ -26,9 +26,10 @@ #include <SDL_types.h> #include <iosfwd> - #include <string> +#include "localconsts.h" + namespace Net { @@ -40,6 +41,8 @@ namespace Net class MessageOut { public: + A_DELETE_COPY(MessageOut); + virtual void writeInt8(int8_t value); /**< Writes a byte. */ virtual void writeInt16(int16_t value) = 0; /**< Writes a short. */ |