diff options
Diffstat (limited to 'llvm/lib/Support/DataStream.cpp')
-rw-r--r-- | llvm/lib/Support/DataStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/DataStream.cpp b/llvm/lib/Support/DataStream.cpp index eec8584..299e6c5 100644 --- a/llvm/lib/Support/DataStream.cpp +++ b/llvm/lib/Support/DataStream.cpp @@ -68,7 +68,7 @@ public: if (Filename == "-") { Fd = 0; sys::ChangeStdinToBinary(); - return error_code::success(); + return error_code(); } return sys::fs::openFileForRead(Filename, Fd); |