diff --git a/src/fuse_open.cpp b/src/fuse_open.cpp index d783fd88..e5bf8b46 100644 --- a/src/fuse_open.cpp +++ b/src/fuse_open.cpp @@ -344,10 +344,10 @@ namespace FUSE open(const char *fusepath_, fuse_file_info_t *ffi_) { - pt.emplace_or_visit(std::string{fusepath_}, - [](const PTMap::value_type &x_) - { - }); + PT *p; + + p = &pt[fusepath_]; + return open2(fusepath_,ffi_); }