diff --git a/src/fuse_open.cpp b/src/fuse_open.cpp index e5bf8b46..adccb508 100644 --- a/src/fuse_open.cpp +++ b/src/fuse_open.cpp @@ -346,7 +346,7 @@ namespace FUSE { PT *p; - p = &pt[fusepath_]; + p = &pt[std::string{fusepath_}]; return open2(fusepath_,ffi_);