diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-02 21:25:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-02 21:25:21 +0300 |
commit | 0534847df83047f1ce2605187d45a762ffeae11e (patch) | |
tree | 92365ee5ec086b3c65f024096df9d63bd05b31d4 /src/resources/imagewriter.cpp | |
parent | 4f390339f8107c376a10151a2cae889c0ec01089 (diff) | |
download | manaplus-0534847df83047f1ce2605187d45a762ffeae11e.tar.gz manaplus-0534847df83047f1ce2605187d45a762ffeae11e.tar.bz2 manaplus-0534847df83047f1ce2605187d45a762ffeae11e.tar.xz manaplus-0534847df83047f1ce2605187d45a762ffeae11e.zip |
Add const to more classes.
Diffstat (limited to 'src/resources/imagewriter.cpp')
-rw-r--r-- | src/resources/imagewriter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/imagewriter.cpp b/src/resources/imagewriter.cpp index f452a9050..2b8b8a7d9 100644 --- a/src/resources/imagewriter.cpp +++ b/src/resources/imagewriter.cpp @@ -35,7 +35,8 @@ #include "debug.h" -bool ImageWriter::writePNG(SDL_Surface *surface, const std::string &filename) +bool ImageWriter::writePNG(SDL_Surface *const surface, + const std::string &filename) { if (!surface) return false; |