forked from OSchip/llvm-project
Use ThreadSafeRefCountedBase for vfs::FileSystem
Allow trivial read-only filesystems such as RealFileSystem to be shared between threads. llvm-svn: 202986
This commit is contained in:
parent
d55e115b58
commit
53145df884
|
@ -95,7 +95,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
/// \brief The virtual file system interface.
|
/// \brief The virtual file system interface.
|
||||||
class FileSystem : public RefCountedBase<FileSystem> {
|
class FileSystem : public llvm::ThreadSafeRefCountedBase<FileSystem> {
|
||||||
public:
|
public:
|
||||||
virtual ~FileSystem();
|
virtual ~FileSystem();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue