projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cffbd25
)
De-constify the input to the "operator >>" method as it is modified.
author
Bill Wendling
<isanbard@gmail.com>
Tue, 25 Mar 2008 18:16:52 +0000
(18:16 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Tue, 25 Mar 2008 18:16:52 +0000
(18:16 +0000)
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
patch
|
blob
|
history
diff --git
a/include/llvm/Support/Streams.h
b/include/llvm/Support/Streams.h
index 1200022724265d5434d2e0b5d53cdb4f8878673c..46bac8baaf6b613c6a9be5bcf01e97180b59cdc5 100644
(file)
--- 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;
}