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
This commit is contained in:
Bill Wendling 2008-03-25 18:16:52 +00:00
parent cffbd2562a
commit 3ee3267fc2

View File

@ -46,7 +46,7 @@ namespace llvm {
}
template <typename Ty>
BaseStream &operator >> (const Ty &Thing) {
BaseStream &operator >> (Ty &Thing) {
if (Stream) *Stream >> Thing;
return *this;
}