[llvm] r234899 - Fix MSVC build.
Rafael Espindola
rafael.espindola at gmail.com
Tue Apr 14 08:25:14 PDT 2015
Author: rafael
Date: Tue Apr 14 10:25:14 2015
New Revision: 234899
URL: http://llvm.org/viewvc/llvm-project?rev=234899&view=rev
Log:
Fix MSVC build.
Modified:
llvm/trunk/include/llvm/Support/raw_ostream.h
Modified: llvm/trunk/include/llvm/Support/raw_ostream.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/raw_ostream.h?rev=234899&r1=234898&r2=234899&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/raw_ostream.h (original)
+++ llvm/trunk/include/llvm/Support/raw_ostream.h Tue Apr 14 10:25:14 2015
@@ -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;
};
More information about the llvm-commits
mailing list