From dd996d01676d7dca3eec442b14c4966ba0bb0935 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Oct 2012 01:40:58 +0300 Subject: Delete copy constructor from net classes. --- src/net/charhandler.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/net/charhandler.h') 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 Characters; class CharHandler { public: + A_DELETE_COPY(CharHandler); + virtual ~CharHandler() { } -- cgit v1.2.3-70-g09d2