From 0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Jan 2017 18:21:23 +0300 Subject: Add missing A_DEFAULT_COPY / A_DELETE_COPY into resources. --- src/resources/sprite/sprite.h | 2 ++ src/resources/sprite/spritedisplay.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/resources/sprite') 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 sprites; -- cgit v1.2.3-70-g09d2