From b33355d1a0f1706f4554a03c19e004af0ffbae16 Mon Sep 17 00:00:00 2001 From: PhracturedBlue Date: Tue, 2 Apr 2024 12:43:23 +0000 Subject: [PATCH] Dereference basepath pointer in FileInfo to ensure it doesn't change --- src/fileinfo.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fileinfo.hpp b/src/fileinfo.hpp index ddedfa7f..d9eb0a49 100644 --- a/src/fileinfo.hpp +++ b/src/fileinfo.hpp @@ -39,7 +39,7 @@ class FileInfo : public FH public: int fd; - const std::string &basepath; + const std::string basepath; uint32_t direct_io:1; std::mutex mutex; };