From c961f71619a09667931b2ea52171181b55f2047a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 Aug 2014 14:16:36 +0300 Subject: Add missing const into inputactiondata. --- src/input/inputactiondata.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/input/inputactiondata.h b/src/input/inputactiondata.h index babea1137..2f5ee2ed6 100644 --- a/src/input/inputactiondata.h +++ b/src/input/inputactiondata.h @@ -29,18 +29,18 @@ struct InputActionData final { - const char *configField; - int defaultType1; - int defaultValue1; - int defaultType2; - int defaultValue2; - int grp; - ActionFuncPtr action; - int modKeyIndex; - int priority; - int condition; - std::string chatCommand; - bool useArgs; + const char *const configField; + const int defaultType1; + const int defaultValue1; + const int defaultType2; + const int defaultValue2; + const int grp; + const ActionFuncPtr action; + const int modKeyIndex; + const int priority; + const int condition; + const std::string chatCommand; + const bool useArgs; }; namespace Input -- cgit v1.2.3-70-g09d2