summaryrefslogtreecommitdiff
path: root/src/guichan/mouseinput.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/mouseinput.cpp
parented3410d7eb61593a2235ddba97ce257c85e405a6 (diff)
downloadmanaverse-4df121e6dcdf53436f50ce81dd60096ce0138a2c.tar.gz
manaverse-4df121e6dcdf53436f50ce81dd60096ce0138a2c.tar.bz2
manaverse-4df121e6dcdf53436f50ce81dd60096ce0138a2c.tar.xz
manaverse-4df121e6dcdf53436f50ce81dd60096ce0138a2c.zip
Add const to more classes.
Diffstat (limited to 'src/guichan/mouseinput.cpp')
-rw-r--r--src/guichan/mouseinput.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/guichan/mouseinput.cpp b/src/guichan/mouseinput.cpp
index 791c8d7e9..f3b0fe511 100644
--- a/src/guichan/mouseinput.cpp
+++ b/src/guichan/mouseinput.cpp
@@ -52,16 +52,16 @@
namespace gcn
{
- MouseInput::MouseInput(unsigned int button,
- unsigned int type,
- int x,
- int y,
- int timeStamp)
- : mType(type),
- mButton(button),
- mTimeStamp(timeStamp),
- mX(x),
- mY(y)
+ MouseInput::MouseInput(const unsigned int button,
+ const unsigned int type,
+ const int x,
+ const int y,
+ const int timeStamp) :
+ mType(type),
+ mButton(button),
+ mTimeStamp(timeStamp),
+ mX(x),
+ mY(y)
{
}