summaryrefslogtreecommitdiff
path: root/src/gui/palette.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-27 21:18:46 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-27 21:44:17 +0300
commit7c79aa2b8e484319e3e511fa21db6d2448347024 (patch)
tree3c4fb4e72414dd8c0d93401a6bf2cc86b65a34a0 /src/gui/palette.h
parentde476bb95242e10c833394ef007728072eabe60f (diff)
downloadmanaverse-7c79aa2b8e484319e3e511fa21db6d2448347024.tar.gz
manaverse-7c79aa2b8e484319e3e511fa21db6d2448347024.tar.bz2
manaverse-7c79aa2b8e484319e3e511fa21db6d2448347024.tar.xz
manaverse-7c79aa2b8e484319e3e511fa21db6d2448347024.zip
Add const to more classes.
Diffstat (limited to 'src/gui/palette.h')
-rw-r--r--src/gui/palette.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/palette.h b/src/gui/palette.h
index a4ac5d44b..836ec77e6 100644
--- a/src/gui/palette.h
+++ b/src/gui/palette.h
@@ -65,7 +65,7 @@ class Palette
*
* @return the requested color or Palette::BLACK
*/
- const gcn::Color &getColor(char c, bool &valid);
+ const gcn::Color &getColor(const char c, bool &valid);
/**
* Gets the color associated with the type. Sets the alpha channel
@@ -141,7 +141,7 @@ class Palette
/**
* Constructor
*/
- Palette(int size);
+ Palette(const int size);
/**
* Destructor