diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-04 23:13:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-04 23:13:26 +0300 |
commit | 70e54365d660a52884af35487cfdf89d0d53ac9a (patch) | |
tree | 5cdbf55b2d977523364a554f2ea1c1bd46628da4 /src/input/inputfunction.h | |
parent | 8ea8b11a39ad94f521d66d2f182312655ad587b2 (diff) | |
download | mv-70e54365d660a52884af35487cfdf89d0d53ac9a.tar.gz mv-70e54365d660a52884af35487cfdf89d0d53ac9a.tar.bz2 mv-70e54365d660a52884af35487cfdf89d0d53ac9a.tar.xz mv-70e54365d660a52884af35487cfdf89d0d53ac9a.zip |
Improve performance in getting printable key for actions.
Diffstat (limited to 'src/input/inputfunction.h')
-rw-r--r-- | src/input/inputfunction.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/input/inputfunction.h b/src/input/inputfunction.h index 58c4b0efc..21d1cd732 100644 --- a/src/input/inputfunction.h +++ b/src/input/inputfunction.h @@ -23,12 +23,15 @@ #include "input/inputitem.h" +#include <string> + #include "localconsts.h" -const unsigned int inputFunctionSize = 3; +const size_t inputFunctionSize = 3U; struct InputFunction final { + std::string keyStr; InputItem values[inputFunctionSize]; }; |