summaryrefslogtreecommitdiff
path: root/src/guichan/cliprectangle.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-01 20:49:03 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-02 00:37:51 +0300
commit4df121e6dcdf53436f50ce81dd60096ce0138a2c (patch)
tree7cadc707bb49e4c148ba9c182075697a9643e20a /src/guichan/cliprectangle.cpp
parented3410d7eb61593a2235ddba97ce257c85e405a6 (diff)
downloadplus-4df121e6dcdf53436f50ce81dd60096ce0138a2c.tar.gz
plus-4df121e6dcdf53436f50ce81dd60096ce0138a2c.tar.bz2
plus-4df121e6dcdf53436f50ce81dd60096ce0138a2c.tar.xz
plus-4df121e6dcdf53436f50ce81dd60096ce0138a2c.zip
Add const to more classes.
Diffstat (limited to 'src/guichan/cliprectangle.cpp')
-rw-r--r--src/guichan/cliprectangle.cpp5
1 files changed, 3 insertions, 2 deletions
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)
{