diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-25 19:47:55 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-25 19:47:55 +0000 |
commit | e5bf24684fbdb41388a66bfd2e5bc9eb94361387 (patch) | |
tree | 87c18c228e1bc53c2543403139bc666ca79d21b8 | |
parent | 0794a915a421b1337c543fba17e04fba660341a4 (diff) | |
download | bcm5719-llvm-e5bf24684fbdb41388a66bfd2e5bc9eb94361387.tar.gz bcm5719-llvm-e5bf24684fbdb41388a66bfd2e5bc9eb94361387.zip |
Try to fix the build on windows.
llvm-svn: 193431
-rw-r--r-- | llvm/unittests/Support/Path.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp index cc8731b3c07..070fb64aad5 100644 --- a/llvm/unittests/Support/Path.cpp +++ b/llvm/unittests/Support/Path.cpp @@ -461,7 +461,7 @@ TEST_F(FileSystemTest, CarriageReturn) { } { OwningPtr<MemoryBuffer> Buf; - MemoryBuffer::getFile(FilePathname, Buf); + MemoryBuffer::getFile(FilePathname.c_str(), Buf); EXPECT_EQ(Buf->getBuffer(), "\r\n"); } @@ -472,7 +472,7 @@ TEST_F(FileSystemTest, CarriageReturn) { } { OwningPtr<MemoryBuffer> Buf; - MemoryBuffer::getFile(FilePathname, Buf); + MemoryBuffer::getFile(FilePathname.c_str(), Buf); EXPECT_EQ(Buf->getBuffer(), "\n"); } } |