From: Rafael Espindola Date: Tue, 14 Apr 2015 15:25:14 +0000 (+0000) Subject: Fix MSVC build. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b9735c43334ce671795f68acd85834dea3be88ee;p=oota-llvm.git Fix MSVC build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234899 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; };