summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-10 03:29:39 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-10 03:29:39 +0300
commit1d3118ec21f537695dc0e6a9608acd67396d0a51 (patch)
tree5cf9229b2d23f2a7a584b5fed9aaead306df6496 /src/resources/beinginfo.h
parentdd996d01676d7dca3eec442b14c4966ba0bb0935 (diff)
downloadmv-1d3118ec21f537695dc0e6a9608acd67396d0a51.tar.gz
mv-1d3118ec21f537695dc0e6a9608acd67396d0a51.tar.bz2
mv-1d3118ec21f537695dc0e6a9608acd67396d0a51.tar.xz
mv-1d3118ec21f537695dc0e6a9608acd67396d0a51.zip
Delete copy constructor from other classes.
Diffstat (limited to 'src/resources/beinginfo.h')
-rw-r--r--src/resources/beinginfo.h4
1 files changed, 4 insertions, 0 deletions
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<int, Attack*> Attacks;
@@ -81,6 +83,8 @@ class BeingInfo final
BeingInfo();
+ A_DELETE_COPY(BeingInfo);
+
~BeingInfo();
void setName(const std::string &name)