diff --git a/src/fuse_open.cpp b/src/fuse_open.cpp index adccb508..4f42a237 100644 --- a/src/fuse_open.cpp +++ b/src/fuse_open.cpp @@ -344,9 +344,8 @@ namespace FUSE open(const char *fusepath_, fuse_file_info_t *ffi_) { - PT *p; - - p = &pt[std::string{fusepath_}]; + pt.emplace(); + return open2(fusepath_,ffi_);