diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-19 16:16:13 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-19 16:16:13 +0000 |
commit | 3baf01bd95586875274f6f36cf9931c8ebff2c39 (patch) | |
tree | cbecf23bfb78ad1a5d10abaacf44334ca712c045 /tools/llvm-ar/llvm-ar.cpp | |
parent | 7d180ac7b6135bd378739dc2f760a5b31cd12cae (diff) | |
download | external_llvm-3baf01bd95586875274f6f36cf9931c8ebff2c39.zip external_llvm-3baf01bd95586875274f6f36cf9931c8ebff2c39.tar.gz external_llvm-3baf01bd95586875274f6f36cf9931c8ebff2c39.tar.bz2 |
Another attempt at fixing the bots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184318 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-ar/llvm-ar.cpp')
-rw-r--r-- | tools/llvm-ar/llvm-ar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-ar/llvm-ar.cpp b/tools/llvm-ar/llvm-ar.cpp index 9dacbde..27df8d8 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().str(), io_mode); + std::ofstream file(I->getPath().str().c_str(), io_mode); // Get the data and its length const char* data = reinterpret_cast<const char*>(I->getData()); |