mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
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:
parent
cffbd2562a
commit
3ee3267fc2
@ -46,7 +46,7 @@ namespace llvm {
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <typename Ty>
|
template <typename Ty>
|
||||||
BaseStream &operator >> (const Ty &Thing) {
|
BaseStream &operator >> (Ty &Thing) {
|
||||||
if (Stream) *Stream >> Thing;
|
if (Stream) *Stream >> Thing;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user