mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-23 00:16:31 -05:00
limit need to explicitly call .c_str()
This commit is contained in:
parent
7b4e1ea36d
commit
e93c946198
8 changed files with 96 additions and 10 deletions
|
|
@ -72,7 +72,7 @@ namespace fs
|
|||
|
||||
fusedir = fusepath;
|
||||
fs::path::dirname(fusedir);
|
||||
rv = fs::clonepath(fdin_path,fdout_path,fusedir.c_str());
|
||||
rv = fs::clonepath(fdin_path,fdout_path,fusedir);
|
||||
if(rv == -1)
|
||||
return -1;
|
||||
|
||||
|
|
@ -91,7 +91,7 @@ namespace fs
|
|||
{
|
||||
fs::close(fdin);
|
||||
fs::close(fdout);
|
||||
fs::unlink(fdout_path.c_str());
|
||||
fs::unlink(fdout_path);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue