Fix MSVC build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234899 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2015-04-14 15:25:14 +00:00
parent 7025d248eb
commit b9735c4333

View 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;
};