summaryrefslogtreecommitdiff
path: root/src/utils/virtfstools.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-13 16:13:30 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-13 16:13:30 +0300
commit0a2cde31f777ec41893222f71bceb799bb78e590 (patch)
treef964a7d9490e7ecc8636602f45b856e3b1b21c9b /src/utils/virtfstools.h
parentea8d6570615bf71937295aa670b59e4155a563e4 (diff)
downloadmanaverse-0a2cde31f777ec41893222f71bceb799bb78e590.tar.gz
manaverse-0a2cde31f777ec41893222f71bceb799bb78e590.tar.bz2
manaverse-0a2cde31f777ec41893222f71bceb799bb78e590.tar.xz
manaverse-0a2cde31f777ec41893222f71bceb799bb78e590.zip
Add restrict into virtfstools.
Diffstat (limited to 'src/utils/virtfstools.h')
-rw-r--r--src/utils/virtfstools.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/virtfstools.h b/src/utils/virtfstools.h
index be16dddea..fccacbec1 100644
--- a/src/utils/virtfstools.h
+++ b/src/utils/virtfstools.h
@@ -31,7 +31,8 @@ struct VirtFile;
namespace VirtFs
{
- void *loadFile(const std::string &fileName, int &fileSize);
+ void *loadFile(const std::string &restrict fileName,
+ int &restrict fileSize);
void searchAndAddArchives(const std::string &restrict path,
const std::string &restrict ext,
const Append append);