aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-03-25 18:16:52 +0000
committerBill Wendling <isanbard@gmail.com>2008-03-25 18:16:52 +0000
commit3ee3267fc2c4d1d630d9a918ba1453e4fe47c429 (patch)
tree5e190a18c168cd61dc0ece1b0e138cc9eb68694d /include/llvm
parentcffbd2562a5e3ba435dd2b622710ec272c634da5 (diff)
downloadexternal_llvm-3ee3267fc2c4d1d630d9a918ba1453e4fe47c429.zip
external_llvm-3ee3267fc2c4d1d630d9a918ba1453e4fe47c429.tar.gz
external_llvm-3ee3267fc2c4d1d630d9a918ba1453e4fe47c429.tar.bz2
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
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Support/Streams.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/Streams.h b/include/llvm/Support/Streams.h
index 1200022..46bac8b 100644
--- a/include/llvm/Support/Streams.h
+++ b/include/llvm/Support/Streams.h
@@ -46,7 +46,7 @@ namespace llvm {
}
template <typename Ty>
- BaseStream &operator >> (const Ty &Thing) {
+ BaseStream &operator >> (Ty &Thing) {
if (Stream) *Stream >> Thing;
return *this;
}