From 3ee3267fc2c4d1d630d9a918ba1453e4fe47c429 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 25 Mar 2008 18:16:52 +0000 Subject: [PATCH] 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 --- include/llvm/Support/Streams.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }