diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-17 19:01:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-17 19:01:57 +0300 |
commit | 305c5551ae6d85f3a5c35ffd9af63cc1390fbfa6 (patch) | |
tree | 62431869a313c5e85e3e22aaa16fd2de72f17a8f /src/being/localplayer.cpp | |
parent | b013dccdcde658b8e73818ba93988a53d4e1d7ac (diff) | |
download | mv-305c5551ae6d85f3a5c35ffd9af63cc1390fbfa6.tar.gz mv-305c5551ae6d85f3a5c35ffd9af63cc1390fbfa6.tar.bz2 mv-305c5551ae6d85f3a5c35ffd9af63cc1390fbfa6.tar.xz mv-305c5551ae6d85f3a5c35ffd9af63cc1390fbfa6.zip |
add restrict into localplayer.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r-- | src/being/localplayer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 974660db3..e32b2d818 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -1832,8 +1832,9 @@ void LocalPlayer::moveToHome() static const unsigned invertDirectionSize = 5; -void LocalPlayer::changeMode(unsigned *const var, const unsigned limit, - const char *const conf, +void LocalPlayer::changeMode(unsigned *restrict const var, + const unsigned limit, + const char *restrict const conf, std::string (LocalPlayer::*const func)(), const unsigned def, const bool save) |