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

@ -45,7 +45,7 @@ using namespace mergerfs::config;
static
int
_getxattr_controlfile(const Config &config,
const string attrname,
const string &attrname,
char *buf,
const size_t count)
{
@ -100,7 +100,7 @@ static
int
_getxattr(const fs::SearchFunc searchFunc,
const vector<string> &srcmounts,
const string fusepath,
const string &fusepath,
const char *attrname,
char *buf,
const size_t count)