From c47a47c845fa60aebd5464c83395135cc60fe747 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Fri, 12 Apr 2024 09:05:27 -0500 Subject: [PATCH] fuse_open.cpp --- src/fuse_open.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/fuse_open.cpp b/src/fuse_open.cpp index 44a6f958..a9864245 100644 --- a/src/fuse_open.cpp +++ b/src/fuse_open.cpp @@ -42,6 +42,7 @@ struct PT std::mutex mutex; }; +typedef boost::unordered::concurrent_flat_map PTMap;; static boost::unordered::concurrent_flat_map pt; @@ -335,8 +336,8 @@ namespace FUSE open(const char *fusepath_, fuse_file_info_t *ffi_) { - PT x; - // pt.try_emplace_or_visit(fusepath_, + pt.try_emplace_or_visit(fusepath_, + [](const std::pair