mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-20 15:06:33 -05:00
pass const strings by reference. closes #33
This commit is contained in:
parent
19051925db
commit
6c3ff01a0a
38 changed files with 181 additions and 257 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue