aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/Host/FileSystemTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/unittests/Host/FileSystemTest.cpp')
-rw-r--r--lldb/unittests/Host/FileSystemTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/unittests/Host/FileSystemTest.cpp b/lldb/unittests/Host/FileSystemTest.cpp
index 58887f6..e3c2b5a 100644
--- a/lldb/unittests/Host/FileSystemTest.cpp
+++ b/lldb/unittests/Host/FileSystemTest.cpp
@@ -186,7 +186,7 @@ TEST(FileSystemTest, FileAndDirectoryComponents) {
}
static IntrusiveRefCntPtr<DummyFileSystem> GetSimpleDummyFS() {
- IntrusiveRefCntPtr<DummyFileSystem> D(new DummyFileSystem());
+ auto D = makeIntrusiveRefCnt<DummyFileSystem>();
D->addRegularFile("/foo");
D->addDirectory("/bar");
D->addSymlink("/baz");