diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-27 21:18:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-27 21:44:17 +0300 |
commit | 7c79aa2b8e484319e3e511fa21db6d2448347024 (patch) | |
tree | 3c4fb4e72414dd8c0d93401a6bf2cc86b65a34a0 /src/gui/palette.h | |
parent | de476bb95242e10c833394ef007728072eabe60f (diff) | |
download | mv-7c79aa2b8e484319e3e511fa21db6d2448347024.tar.gz mv-7c79aa2b8e484319e3e511fa21db6d2448347024.tar.bz2 mv-7c79aa2b8e484319e3e511fa21db6d2448347024.tar.xz mv-7c79aa2b8e484319e3e511fa21db6d2448347024.zip |
Add const to more classes.
Diffstat (limited to 'src/gui/palette.h')
-rw-r--r-- | src/gui/palette.h | 4 |
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 |