From 75de132ed9cd2b59d33e0a721bac285db2528949 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 4 Jan 2017 13:32:23 +1100 Subject: Mark some const methods as const. --- src/XPM.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/XPM.h') diff --git a/src/XPM.h b/src/XPM.h index 631fe1386..b7b19014e 100644 --- a/src/XPM.h +++ b/src/XPM.h @@ -23,7 +23,7 @@ class XPM { ColourDesired colourCodeTable[256]; char codeTransparent; ColourDesired ColourFromCode(int ch) const; - void FillRun(Surface *surface, int code, int startX, int y, int x); + void FillRun(Surface *surface, int code, int startX, int y, int x) const; public: explicit XPM(const char *textForm); explicit XPM(const char *const *linesForm); -- cgit v1.2.3