From: Bill Wendling Date: Tue, 25 Mar 2008 18:16:52 +0000 (+0000) Subject: De-constify the input to the "operator >>" method as it is modified. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3ee3267fc2c4d1d630d9a918ba1453e4fe47c429;p=oota-llvm.git De-constify the input to the "operator >>" method as it is modified. Patch by dekruijf@cs.wisc.edu! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48782 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; }