Skip to content

Commit

Permalink
Dereference basepath pointer in FileInfo to ensure it doesn't change
Browse files Browse the repository at this point in the history
  • Loading branch information
PhracturedBlue committed Apr 2, 2024
1 parent 6c0be44 commit b33355d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fileinfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

0 comments on commit b33355d

Please sign in to comment.