diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-10 03:29:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-10 03:29:39 +0300 |
commit | 1d3118ec21f537695dc0e6a9608acd67396d0a51 (patch) | |
tree | 5cf9229b2d23f2a7a584b5fed9aaead306df6496 /src/resources/resource.h | |
parent | dd996d01676d7dca3eec442b14c4966ba0bb0935 (diff) | |
download | plus-1d3118ec21f537695dc0e6a9608acd67396d0a51.tar.gz plus-1d3118ec21f537695dc0e6a9608acd67396d0a51.tar.bz2 plus-1d3118ec21f537695dc0e6a9608acd67396d0a51.tar.xz plus-1d3118ec21f537695dc0e6a9608acd67396d0a51.zip |
Delete copy constructor from other classes.
Diffstat (limited to 'src/resources/resource.h')
-rw-r--r-- | src/resources/resource.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/resource.h b/src/resources/resource.h index d9b220338..4df9b47a0 100644 --- a/src/resources/resource.h +++ b/src/resources/resource.h @@ -28,6 +28,8 @@ #include <ctime> #include <string> +#include "localconsts.h" + /** * A generic reference counted resource object. */ @@ -49,6 +51,8 @@ class Resource { } + A_DELETE_COPY(Resource); + /** * Increments the internal reference count. */ |