From b9735c43334ce671795f68acd85834dea3be88ee Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 14 Apr 2015 15:25:14 +0000 Subject: [PATCH] Fix MSVC build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234899 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/raw_ostream.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h index ed79292bd5e..338f0f4295c 100644 --- a/include/llvm/Support/raw_ostream.h +++ b/include/llvm/Support/raw_ostream.h @@ -318,7 +318,8 @@ private: /// but needs to patch in a header that needs to know the output size. class raw_pwrite_stream : public raw_ostream { public: - using raw_ostream::raw_ostream; + explicit raw_pwrite_stream(bool Unbuffered = false) + : raw_ostream(Unbuffered) {} virtual void pwrite(const char *Ptr, size_t Size, uint64_t Offset) = 0; }; -- 2.34.1