summaryrefslogtreecommitdiff
path: root/src/position.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-02 16:21:43 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-02 16:35:24 +0300
commite0ae701192472d7dd1ae80d78308c4f4a9ef4ec6 (patch)
tree9765a6516e4a6e284ed7b589090db7f1f4cd80ea /src/position.h
parent962f182fcc989ec587282e44f889188ce241ba31 (diff)
downloadmv-e0ae701192472d7dd1ae80d78308c4f4a9ef4ec6.tar.gz
mv-e0ae701192472d7dd1ae80d78308c4f4a9ef4ec6.tar.bz2
mv-e0ae701192472d7dd1ae80d78308c4f4a9ef4ec6.tar.xz
mv-e0ae701192472d7dd1ae80d78308c4f4a9ef4ec6.zip
Add const to more classes.
Diffstat (limited to 'src/position.h')
-rw-r--r--src/position.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/position.h b/src/position.h
index 2e10aebe2..60c762310 100644
--- a/src/position.h
+++ b/src/position.h
@@ -31,7 +31,7 @@
*/
struct Position
{
- Position(int x0, int y0):
+ Position(const int x0, const int y0) :
x(x0), y(y0)
{ }