summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-17 18:51:50 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-17 18:51:50 +0300
commitb013dccdcde658b8e73818ba93988a53d4e1d7ac (patch)
tree9963d02b565fa82cd4e3e1b20f2388aaa15d7e30 /src/being/being.cpp
parentd481dcd1baefb5a067069f592cfcb8f5150b8594 (diff)
downloadplus-b013dccdcde658b8e73818ba93988a53d4e1d7ac.tar.gz
plus-b013dccdcde658b8e73818ba93988a53d4e1d7ac.tar.bz2
plus-b013dccdcde658b8e73818ba93988a53d4e1d7ac.tar.xz
plus-b013dccdcde658b8e73818ba93988a53d4e1d7ac.zip
add restrict into being.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index dab5227ba..ba2108402 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -2856,8 +2856,8 @@ std::string Being::loadComment(const std::string &name, const int type)
return "";
}
-void Being::saveComment(const std::string &name,
- const std::string &comment, const int type)
+void Being::saveComment(const std::string &restrict name,
+ const std::string &restrict comment, const int type)
{
std::string dir;
switch (type)