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/charhandler.h | |
parent | 75d9cadaf376cad8f7244ee4d4632e94c0ef3bc0 (diff) | |
download | manaplus-dd996d01676d7dca3eec442b14c4966ba0bb0935.tar.gz manaplus-dd996d01676d7dca3eec442b14c4966ba0bb0935.tar.bz2 manaplus-dd996d01676d7dca3eec442b14c4966ba0bb0935.tar.xz manaplus-dd996d01676d7dca3eec442b14c4966ba0bb0935.zip |
Delete copy constructor from net classes.
Diffstat (limited to 'src/net/charhandler.h')
-rw-r--r-- | src/net/charhandler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/charhandler.h b/src/net/charhandler.h index 092e0f135..ecaabfebb 100644 --- a/src/net/charhandler.h +++ b/src/net/charhandler.h @@ -47,6 +47,8 @@ struct Character { } + A_DELETE_COPY(Character); + ~Character() { delete dummy; @@ -63,6 +65,8 @@ typedef std::list<Character*> Characters; class CharHandler { public: + A_DELETE_COPY(CharHandler); + virtual ~CharHandler() { } |