Fix MSVC build.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 14 Apr 2015 15:25:14 +0000 (15:25 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 14 Apr 2015 15:25:14 +0000 (15:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234899 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/raw_ostream.h

index ed79292bd5ed22f2cc0dda665b80203e4d1190a3..338f0f4295ccb680843e71891077e5440e5ef7bc 100644 (file)
@@ -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;
 };