From 1d3118ec21f537695dc0e6a9608acd67396d0a51 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Oct 2012 03:29:39 +0300 Subject: Delete copy constructor from other classes. --- src/resources/beinginfo.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/resources/beinginfo.h') diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h index 208fcd541..f5e9650c1 100644 --- a/src/resources/beinginfo.h +++ b/src/resources/beinginfo.h @@ -48,6 +48,8 @@ struct Attack final mMissileParticle(missileParticle) { } + + A_DELETE_COPY(Attack); }; typedef std::map Attacks; @@ -81,6 +83,8 @@ class BeingInfo final BeingInfo(); + A_DELETE_COPY(BeingInfo); + ~BeingInfo(); void setName(const std::string &name) -- cgit v1.2.3-70-g09d2