From 987a88ffb5bd00e7996e8267b2bd3c9ed48a40e2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 5 Sep 2012 00:53:33 +0300 Subject: another some const fixes. --- src/gui/userpalette.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/userpalette.h') diff --git a/src/gui/userpalette.h b/src/gui/userpalette.h index a808e865b..0ce3a6b85 100644 --- a/src/gui/userpalette.h +++ b/src/gui/userpalette.h @@ -117,7 +117,7 @@ class UserPalette : public Palette, public gcn::ListModel * @param type the color type requested * @param color the color that should be tested */ - inline void setTestColor(const int type, const gcn::Color color) + inline void setTestColor(const int type, const gcn::Color &color) { mColors[type].testColor = color; } /** -- cgit v1.2.3-60-g2f50