summaryrefslogtreecommitdiff
path: root/src/events
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-21 23:31:09 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-21 23:31:09 +0300
commit5608082763e47afe4de8051672db65e1e8563aed (patch)
treeeb6c90919147c36cf502e1fdb8d8c9ec1bb92881 /src/events
parentcb84f051aae518fd70a84333c0d8b53bd01ccc19 (diff)
downloadManaVerse-5608082763e47afe4de8051672db65e1e8563aed.tar.gz
ManaVerse-5608082763e47afe4de8051672db65e1e8563aed.tar.bz2
ManaVerse-5608082763e47afe4de8051672db65e1e8563aed.tar.xz
ManaVerse-5608082763e47afe4de8051672db65e1e8563aed.zip
Add const into InputEvent fields.
Diffstat (limited to 'src/events')
-rw-r--r--src/events/inputevent.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/events/inputevent.h b/src/events/inputevent.h
index 9707be94d..5b02c9089 100644
--- a/src/events/inputevent.h
+++ b/src/events/inputevent.h
@@ -57,10 +57,10 @@ struct InputEvent final
mask(0)
{ }
- std::string args;
- ChatTab *tab;
- int action;
- int mask;
+ const std::string args;
+ ChatTab *const tab;
+ const int action;
+ const int mask;
};
#endif // EVENTS_INPUTEVENT_H