From 4df121e6dcdf53436f50ce81dd60096ce0138a2c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 1 Sep 2012 20:49:03 +0300 Subject: Add const to more classes. --- src/guichan/rectangle.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/guichan/rectangle.cpp') diff --git a/src/guichan/rectangle.cpp b/src/guichan/rectangle.cpp index 0a6ed2908..eb87bff50 100644 --- a/src/guichan/rectangle.cpp +++ b/src/guichan/rectangle.cpp @@ -60,8 +60,9 @@ namespace gcn { } - Rectangle::Rectangle(int x_, int y_, int width_, int height_) - : x(x_), + Rectangle::Rectangle(const int x_, const int y_, + const int width_, const int height_) : + x(x_), y(y_), width(width_), height(height_) -- cgit v1.2.3-60-g2f50