summaryrefslogtreecommitdiff
path: root/lib/Support/ToolOutputFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/ToolOutputFile.cpp')
-rw-r--r--lib/Support/ToolOutputFile.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Support/ToolOutputFile.cpp b/lib/Support/ToolOutputFile.cpp
index 824e0a73d2..5c1268a40a 100644
--- a/lib/Support/ToolOutputFile.cpp
+++ b/lib/Support/ToolOutputFile.cpp
@@ -37,9 +37,8 @@ tool_output_file::CleanupInstaller::~CleanupInstaller() {
}
tool_output_file::tool_output_file(const char *filename, std::string &ErrorInfo,
- unsigned Flags)
- : Installer(filename),
- OS(filename, ErrorInfo, Flags) {
+ sys::fs::OpenFlags Flags)
+ : Installer(filename), OS(filename, ErrorInfo, Flags) {
// If open fails, no cleanup is needed.
if (!ErrorInfo.empty())
Installer.Keep = true;