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/spritedef.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/resources/spritedef.h') diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h index bc4f13a13..09e5171e4 100644 --- a/src/resources/spritedef.h +++ b/src/resources/spritedef.h @@ -49,6 +49,8 @@ struct SpriteReference final { } + A_DELETE_COPY(SpriteReference); + std::string sprite; int variant; }; @@ -110,6 +112,8 @@ enum SpriteDirection class SpriteDef final : public Resource { public: + A_DELETE_COPY(SpriteDef); + /** * Loads a sprite definition file. */ -- cgit v1.2.3-70-g09d2