pass const strings by reference. closes #33

This commit is contained in:
Antonio SJ Musumeci 2014-11-10 21:01:20 -05:00
parent 19051925db
commit 6c3ff01a0a
38 changed files with 181 additions and 257 deletions

View file

@ -85,7 +85,7 @@ static
int
_ioctl_dir_base(const fs::SearchFunc searchFunc,
const vector<string> &srcmounts,
const string fusepath,
const string &fusepath,
const int cmd,
void *arg,
const unsigned int flags,
@ -112,7 +112,7 @@ _ioctl_dir_base(const fs::SearchFunc searchFunc,
static
int
_ioctl_dir(const string fusepath,
_ioctl_dir(const string &fusepath,
const int cmd,
void *arg,
const unsigned int flags,