summaryrefslogtreecommitdiff
path: root/src/net/messageout.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/messageout.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/messageout.h')
-rw-r--r--src/net/messageout.h5
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. */