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/viewport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/viewport.h') diff --git a/src/gui/viewport.h b/src/gui/viewport.h index c83e83173..ec35ef3d6 100644 --- a/src/gui/viewport.h +++ b/src/gui/viewport.h @@ -292,7 +292,7 @@ class Viewport : public WindowContainer, public gcn::MouseListener, * Draws the given path. */ void _drawPath(Graphics *const graphics, const Path &path, - const gcn::Color color = gcn::Color(255, 0, 0)) const; + const gcn::Color &color = gcn::Color(255, 0, 0)) const; /** * Make the player go to the mouse position. -- cgit v1.2.3-70-g09d2