diff options
-rw-r--r-- | llvm/include/llvm/DebugInfo/CodeView/StreamRef.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/include/llvm/DebugInfo/CodeView/StreamRef.h b/llvm/include/llvm/DebugInfo/CodeView/StreamRef.h index 107ab759ecb..036802d2499 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/StreamRef.h +++ b/llvm/include/llvm/DebugInfo/CodeView/StreamRef.h @@ -25,9 +25,6 @@ public: : Stream(&Stream), ViewOffset(Offset), Length(Length) {} StreamRef(const StreamRef &Stream, uint32_t Offset, uint32_t Length) = delete; - StreamRef(const StreamRef &Other) - : Stream(Other.Stream), ViewOffset(Other.ViewOffset), - Length(Other.Length) {} Error readBytes(uint32_t Offset, uint32_t Size, ArrayRef<uint8_t> &Buffer) const override { @@ -68,13 +65,6 @@ public: bool operator!=(const StreamRef &Other) const { return !(*this == Other); } - StreamRef &operator=(const StreamRef &Other) { - Stream = Other.Stream; - ViewOffset = Other.ViewOffset; - Length = Other.Length; - return *this; - } - private: const StreamInterface *Stream; uint32_t ViewOffset; |