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:
Ben Langmuir 2014-03-05 15:25:59 +00:00
parent d55e115b58
commit 53145df884
1 changed files with 1 additions and 1 deletions

View File

@ -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();