From 7391366cdf55ca5f5faf97a9ac2b01da47e2749c Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 19 Jun 2013 15:56:53 +0000 Subject: [PATCH] Attempt at fixing some bots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184316 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-ar/llvm-ar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/llvm-ar/llvm-ar.cpp b/tools/llvm-ar/llvm-ar.cpp index 68f51ce88b5..9dacbdeffc5 100644 --- a/tools/llvm-ar/llvm-ar.cpp +++ b/tools/llvm-ar/llvm-ar.cpp @@ -430,7 +430,7 @@ doExtract(std::string* ErrMsg) { // Open up a file stream for writing std::ios::openmode io_mode = std::ios::out | std::ios::trunc | std::ios::binary; - std::ofstream file(I->getPath(), io_mode); + std::ofstream file(I->getPath().str(), io_mode); // Get the data and its length const char* data = reinterpret_cast(I->getData());