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/cliprectangle.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/guichan/cliprectangle.cpp') diff --git a/src/guichan/cliprectangle.cpp b/src/guichan/cliprectangle.cpp index e05736870..285cbbe81 100644 --- a/src/guichan/cliprectangle.cpp +++ b/src/guichan/cliprectangle.cpp @@ -62,8 +62,9 @@ namespace gcn height = 0; } - ClipRectangle::ClipRectangle(int x0, int y0, int width0, int height0, - int xOffset0, int yOffset0) : + ClipRectangle::ClipRectangle(const int x0, const int y0, + const int width0, const int height0, + const int xOffset0, const int yOffset0) : xOffset(xOffset0), yOffset(yOffset0) { -- cgit v1.2.3-60-g2f50