summaryrefslogtreecommitdiff
path: root/src/resources/imagewriter.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-02 21:25:21 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-02 21:25:21 +0300
commit0534847df83047f1ce2605187d45a762ffeae11e (patch)
tree92365ee5ec086b3c65f024096df9d63bd05b31d4 /src/resources/imagewriter.h
parent4f390339f8107c376a10151a2cae889c0ec01089 (diff)
downloadmv-0534847df83047f1ce2605187d45a762ffeae11e.tar.gz
mv-0534847df83047f1ce2605187d45a762ffeae11e.tar.bz2
mv-0534847df83047f1ce2605187d45a762ffeae11e.tar.xz
mv-0534847df83047f1ce2605187d45a762ffeae11e.zip
Add const to more classes.
Diffstat (limited to 'src/resources/imagewriter.h')
-rw-r--r--src/resources/imagewriter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/imagewriter.h b/src/resources/imagewriter.h
index ca8150694..20705d26f 100644
--- a/src/resources/imagewriter.h
+++ b/src/resources/imagewriter.h
@@ -27,6 +27,6 @@ struct SDL_Surface;
class ImageWriter
{
public:
- static bool writePNG(SDL_Surface *surface,
+ static bool writePNG(SDL_Surface *const surface,
const std::string &filename);
};