mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04: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
|
|
@ -48,7 +48,7 @@ using mergerfs::readdir::FileData;
|
|||
static
|
||||
int
|
||||
_readdir(const vector<string> &srcmounts,
|
||||
const string dirname,
|
||||
const string &dirname,
|
||||
void *buf,
|
||||
const fuse_fill_dir_t filler)
|
||||
{
|
||||
|
|
@ -107,7 +107,7 @@ namespace mergerfs
|
|||
{
|
||||
int
|
||||
readdir(const vector<string> &srcmounts,
|
||||
const string dirname,
|
||||
const string &dirname,
|
||||
vector<FileData> &stats)
|
||||
{
|
||||
return _readdir(srcmounts,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue