summaryrefslogtreecommitdiff
path: root/src/resources/dye.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/dye.h
parentdd996d01676d7dca3eec442b14c4966ba0bb0935 (diff)
downloadplus-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/dye.h')
-rw-r--r--src/resources/dye.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/dye.h b/src/resources/dye.h
index 1655ce051..0795f1276 100644
--- a/src/resources/dye.h
+++ b/src/resources/dye.h
@@ -47,6 +47,8 @@ class DyePalette final
*/
DyePalette(const std::string &pallete, const int8_t blockSize);
+ A_DELETE_COPY(DyePalette);
+
/**
* Gets a pixel color depending on its intensity. First color is
* implicitly black (0, 0, 0).
@@ -102,6 +104,8 @@ class Dye final
*/
Dye(const std::string &dye);
+ A_DELETE_COPY(Dye);
+
/**
* Destroys the associated palettes.
*/