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.h | |
parent | b013dccdcde658b8e73818ba93988a53d4e1d7ac (diff) | |
download | manaplus-305c5551ae6d85f3a5c35ffd9af63cc1390fbfa6.tar.gz manaplus-305c5551ae6d85f3a5c35ffd9af63cc1390fbfa6.tar.bz2 manaplus-305c5551ae6d85f3a5c35ffd9af63cc1390fbfa6.tar.xz manaplus-305c5551ae6d85f3a5c35ffd9af63cc1390fbfa6.zip |
add restrict into localplayer.
Diffstat (limited to 'src/being/localplayer.h')
-rw-r--r-- | src/being/localplayer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/localplayer.h b/src/being/localplayer.h index 712556ea8..95194a781 100644 --- a/src/being/localplayer.h +++ b/src/being/localplayer.h @@ -520,8 +520,8 @@ class LocalPlayer final : public Being, const unsigned index, const unsigned sz) const A_WARN_UNUSED; - void changeMode(unsigned *const var, const unsigned limit, - const char *const conf, + void changeMode(unsigned *restrict const var, const unsigned limit, + const char *restrict const conf, std::string (LocalPlayer::*const func)(), const unsigned def = 0, const bool save = true); |