summaryrefslogtreecommitdiff
path: root/src/resources/imagewriter.h
diff options
context:
space:
mode:
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);
};