From 1ad0cb806e7a1196f92c1e8206df2e585cb08ce0 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Fri, 12 Apr 2024 09:42:34 -0500 Subject: [PATCH] fuse_open.cpp --- src/fuse_open.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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_);