summaryrefslogtreecommitdiff
path: root/src/resources/sprite
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-17 18:21:23 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-17 18:21:23 +0300
commit0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0 (patch)
tree99d5be24dafbf05ba3b30e603296222fe7e407dc /src/resources/sprite
parent45115a07e0753fe30bcaac59ec9f3ed4da5048c2 (diff)
downloadplus-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.gz
plus-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.bz2
plus-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.xz
plus-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.zip
Add missing A_DEFAULT_COPY / A_DELETE_COPY into resources.
Diffstat (limited to 'src/resources/sprite')
-rw-r--r--src/resources/sprite/sprite.h2
-rw-r--r--src/resources/sprite/spritedisplay.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/sprite/sprite.h b/src/resources/sprite/sprite.h
index a95a583a9..0b75feb73 100644
--- a/src/resources/sprite/sprite.h
+++ b/src/resources/sprite/sprite.h
@@ -32,6 +32,8 @@ class Image;
class Sprite notfinal
{
public:
+ A_DELETE_COPY(Sprite)
+
virtual ~Sprite()
{ }
diff --git a/src/resources/sprite/spritedisplay.h b/src/resources/sprite/spritedisplay.h
index ae713379b..47b13f2af 100644
--- a/src/resources/sprite/spritedisplay.h
+++ b/src/resources/sprite/spritedisplay.h
@@ -39,6 +39,8 @@ struct SpriteDisplay final
{
}
+ A_DEFAULT_COPY(SpriteDisplay)
+
std::string image;
std::string floor;
std::vector<SpriteReference*> sprites;