diff --git a/include/llvm/Support/Streams.h b/include/llvm/Support/Streams.h index 12000227242..46bac8baaf6 100644 --- a/include/llvm/Support/Streams.h +++ b/include/llvm/Support/Streams.h @@ -46,7 +46,7 @@ namespace llvm { } template - BaseStream &operator >> (const Ty &Thing) { + BaseStream &operator >> (Ty &Thing) { if (Stream) *Stream >> Thing; return *this; }