From 8a6ef2beb841be1bb169d18fab79fc718e9b37ca Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 11 May 2010 03:37:09 +0000 Subject: Made method const. --- src/XPM.cxx | 2 +- src/XPM.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/XPM.cxx b/src/XPM.cxx index 2a0399837..d1389efa0 100644 --- a/src/XPM.cxx +++ b/src/XPM.cxx @@ -38,7 +38,7 @@ static size_t MeasureLength(const char *s) { return i; } -ColourAllocated XPM::ColourFromCode(int ch) { +ColourAllocated XPM::ColourFromCode(int ch) const { return colourCodeTable[ch]->allocated; #ifdef SLOW for (int i=0; i