From e066ec2e038405621a7de50e4cd735e548eb488d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Oct 2012 00:16:37 +0300 Subject: Delete copy constructor in some classes. --- src/avatar.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/avatar.h') diff --git a/src/avatar.h b/src/avatar.h index d329f81a9..51505bfbc 100644 --- a/src/avatar.h +++ b/src/avatar.h @@ -23,6 +23,8 @@ #ifndef AVATAR_H #define AVATAR_H +#include "localconsts.h" + #include enum AvatarType @@ -35,6 +37,8 @@ class Avatar public: Avatar(const std::string &name = ""); + A_DELETE_COPY(Avatar); + virtual ~Avatar() { } -- cgit v1.2.3-60-g2f50