diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-17 18:51:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-17 18:51:50 +0300 |
commit | b013dccdcde658b8e73818ba93988a53d4e1d7ac (patch) | |
tree | 9963d02b565fa82cd4e3e1b20f2388aaa15d7e30 /src/being/being.h | |
parent | d481dcd1baefb5a067069f592cfcb8f5150b8594 (diff) | |
download | mv-b013dccdcde658b8e73818ba93988a53d4e1d7ac.tar.gz mv-b013dccdcde658b8e73818ba93988a53d4e1d7ac.tar.bz2 mv-b013dccdcde658b8e73818ba93988a53d4e1d7ac.tar.xz mv-b013dccdcde658b8e73818ba93988a53d4e1d7ac.zip |
add restrict into being.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/being/being.h b/src/being/being.h index 9d595fa6f..08ac81e9e 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -803,8 +803,9 @@ class Being : public ActorSprite, public ConfigListener static std::string loadComment(const std::string &name, const int type) A_WARN_UNUSED; - static void saveComment(const std::string &name, - const std::string &comment, const int type); + static void saveComment(const std::string &restrict name, + const std::string &restrict comment, + const int type); bool isAdvanced() const A_WARN_UNUSED { return mAdvanced; } |