summaryrefslogtreecommitdiff
path: root/src/resources/imagewriter.h
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/imagewriter.h
parent45115a07e0753fe30bcaac59ec9f3ed4da5048c2 (diff)
downloadmanaverse-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.gz
manaverse-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.bz2
manaverse-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.xz
manaverse-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.zip
Add missing A_DEFAULT_COPY / A_DELETE_COPY into resources.
Diffstat (limited to 'src/resources/imagewriter.h')
-rw-r--r--src/resources/imagewriter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/imagewriter.h b/src/resources/imagewriter.h
index 0ce6d793b..dbe7c75ff 100644
--- a/src/resources/imagewriter.h
+++ b/src/resources/imagewriter.h
@@ -32,6 +32,11 @@ struct SDL_Surface;
class ImageWriter final
{
public:
+ ImageWriter()
+ { }
+
+ A_DELETE_COPY(ImageWriter)
+
static bool writePNG(SDL_Surface *const surface,
const std::string &filename);
};